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:
parent
74639e7203
commit
08ce9b6f84
@ -185,6 +185,9 @@ const { result: personMembershipsResult } = useQuery(
|
||||
page: 1,
|
||||
limit: 10,
|
||||
groupId: route.query?.actorId,
|
||||
}),
|
||||
() => ({
|
||||
enabled: currentActor.value?.id !== undefined,
|
||||
})
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user