fix: fetch discussion and ressources info when accepting a group invitation
Also ensure that the actor is included in PERSON_STATUS_GROUP, to stay consistent with LOGGED_USER_MEMBERSHIPS as used in MyGroups.vue. The accept-invitation and refuse-invitation events needed to be emitted before refetching PERSON_STATUS_GROUP, so they can be caught by GroupView.vue before <InvitationsList> is destroyed due to the v-if becoming false. Fixes #1800
This commit is contained in:
@@ -338,6 +338,9 @@ export const PERSON_STATUS_GROUP = gql`
|
||||
elements {
|
||||
id
|
||||
role
|
||||
actor {
|
||||
...ActorFragment
|
||||
}
|
||||
parent {
|
||||
...ActorFragment
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user