Lint fixes after 5929a85ec7

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-12-22 12:03:15 +01:00
parent 3d99a41104
commit 1400eadfb5
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -235,7 +235,7 @@ const isComponentModalActive = ref(false);
const contactFilter = ref("");
const membersPage = ref(1);
const { result: membersResult } = useQuery<{ group: Pick<IGroup, 'members'> }>(
const { result: membersResult } = useQuery<{ group: Pick<IGroup, "members"> }>(
GROUP_MEMBERS,
() => ({
groupName: usernameWithDomain(selectedActor.value),
@ -247,8 +247,10 @@ const { result: membersResult } = useQuery<{ group: Pick<IGroup, 'members'> }>(
() => ({ enabled: selectedActor.value?.type === ActorType.GROUP })
);
const members = computed<Paginate<IMember>>(
() => selectedActor.value?.type === ActorType.GROUP ? membersResult.value?.group?.members ?? { elements: [], total: 0 } : { elements: [], total: 0 }
const members = computed<Paginate<IMember>>(() =>
selectedActor.value?.type === ActorType.GROUP
? membersResult.value?.group?.members ?? { elements: [], total: 0 }
: { elements: [], total: 0 }
);
const actualContacts = computed({