trigger resync on user page
This commit is contained in:
parent
e9fc7caeb3
commit
8ff139fb49
|
@ -62,9 +62,10 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fetch() {
|
fetch() {
|
||||||
|
const params = Object.assign({ resync: true }, parseAcct(this.$route.params.user));
|
||||||
this.fetching = true;
|
this.fetching = true;
|
||||||
Progress.start();
|
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.user = user;
|
||||||
this.fetching = false;
|
this.fetching = false;
|
||||||
Progress.done();
|
Progress.done();
|
||||||
|
|
Loading…
Reference in New Issue