mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-03 20:44:53 +01:00
trigger resync on user page
This commit is contained in:
parent
e9fc7caeb3
commit
8ff139fb49
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue