From 1400eadfb5ad5aa3810535ac472a958c81747fb3 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 22 Dec 2022 12:03:15 +0100 Subject: [PATCH] Lint fixes after 5929a85ec7f899ca3858e7ed6d407f7da5af76cd Signed-off-by: Thomas Citharel --- js/src/components/Event/OrganizerPickerWrapper.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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({