diff --git a/src/views/Group/GroupView.vue b/src/views/Group/GroupView.vue index 642a9b417..15b54e2e0 100644 --- a/src/views/Group/GroupView.vue +++ b/src/views/Group/GroupView.vue @@ -714,6 +714,8 @@ const { result, subscribeToMore } = useQuery<{ currentActor.value?.id !== null && group.value?.preferredUsername !== undefined && usernameWithDomain(group.value) !== "", + // always display the latest information + fetchPolicy: "cache-and-network", }) ); subscribeToMore<{ actorId: string; group: string }>({ diff --git a/src/views/Group/MyGroups.vue b/src/views/Group/MyGroups.vue index bffdb927f..1679109a8 100644 --- a/src/views/Group/MyGroups.vue +++ b/src/views/Group/MyGroups.vue @@ -101,10 +101,17 @@ const limit = 10; const { result: membershipsResult, loading } = useQuery<{ loggedUser: Pick; -}>(LOGGED_USER_MEMBERSHIPS, () => ({ - page: page.value, - limit, -})); +}>( + LOGGED_USER_MEMBERSHIPS, + () => ({ + page: page.value, + limit, + }), + () => ({ + // always display the latest information + fetchPolicy: "cache-and-network", + }) +); const membershipsPages = computed( () =>