diff --git a/js/src/components/Event/OrganizerPickerWrapper.vue b/js/src/components/Event/OrganizerPickerWrapper.vue index ca42b027..e1caf711 100644 --- a/js/src/components/Event/OrganizerPickerWrapper.vue +++ b/js/src/components/Event/OrganizerPickerWrapper.vue @@ -235,7 +235,7 @@ const isComponentModalActive = ref(false); const contactFilter = ref(""); const membersPage = ref(1); -const { result: membersResult } = useQuery<{ group: Pick }>( +const { result: membersResult } = useQuery<{ group: Pick }>( GROUP_MEMBERS, () => ({ groupName: usernameWithDomain(selectedActor.value), @@ -247,8 +247,10 @@ const { result: membersResult } = useQuery<{ group: Pick }>( () => ({ enabled: selectedActor.value?.type === ActorType.GROUP }) ); -const members = computed>( - () => selectedActor.value?.type === ActorType.GROUP ? membersResult.value?.group?.members ?? { elements: [], total: 0 } : { elements: [], total: 0 } +const members = computed>(() => + selectedActor.value?.type === ActorType.GROUP + ? membersResult.value?.group?.members ?? { elements: [], total: 0 } + : { elements: [], total: 0 } ); const actualContacts = computed({