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 958686fad4
commit c5e89e2580

View file

@ -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;
});
}); });
}); });
}, },