Prevent loading authorized groups when current actor isn't loading in OrganizerPickerWrapper

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-04 11:29:12 +01:00
parent 74639e7203
commit 08ce9b6f84
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -185,6 +185,9 @@ const { result: personMembershipsResult } = useQuery(
page: 1, page: 1,
limit: 10, limit: 10,
groupId: route.query?.actorId, groupId: route.query?.actorId,
}),
() => ({
enabled: currentActor.value?.id !== undefined,
}) })
); );