Fetch joined groups on accept group invites (#4956)
This commit is contained in:
parent
958686fad4
commit
c5e89e2580
1 changed files with 4 additions and 0 deletions
|
@ -103,6 +103,10 @@ export default Vue.extend({
|
||||||
});
|
});
|
||||||
this.$root.api('i/user-group-invites').then(invites => {
|
this.$root.api('i/user-group-invites').then(invites => {
|
||||||
this.invites = invites;
|
this.invites = invites;
|
||||||
|
}).then(() => {
|
||||||
|
this.$root.api('users/groups/joined').then(groups => {
|
||||||
|
this.joinedGroups = groups;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue