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:
Massedil
2025-06-20 18:36:28 +02:00
parent 108d34305e
commit 3447bdc864
3 changed files with 77 additions and 70 deletions

View File

@@ -338,6 +338,9 @@ export const PERSON_STATUS_GROUP = gql`
elements {
id
role
actor {
...ActorFragment
}
parent {
...ActorFragment
}