trigger resync on user page

This commit is contained in:
mei23 2018-10-28 22:00:46 +09:00
parent e9fc7caeb3
commit 8ff139fb49

View file

@ -62,9 +62,10 @@ export default Vue.extend({
},
methods: {
fetch() {
const params = Object.assign({ resync: true }, parseAcct(this.$route.params.user));
this.fetching = true;
Progress.start();
(this as any).api('users/show', parseAcct(this.$route.params.user)).then(user => {
(this as any).api('users/show', params).then(user => {
this.user = user;
this.fetching = false;
Progress.done();