Fetch joined groups on accept group invites (#4956)

This commit is contained in:
Satsuki Yanagi 2019-05-22 12:25:14 +09:00 committed by syuilo
parent a973bd56fe
commit aa1d2545b3

View file

@ -103,6 +103,10 @@ export default Vue.extend({
});
this.$root.api('i/user-group-invites').then(invites => {
this.invites = invites;
}).then(() => {
this.$root.api('users/groups/joined').then(groups => {
this.joinedGroups = groups;
});
});
});
},