From bdacd55480b5698544a837a3c90ea7bbb1a0ac57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 17 Mar 2024 11:33:20 +0100 Subject: [PATCH] fix members. --- src/page/components/members.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/page/components/members.vue b/src/page/components/members.vue index 27a2df03..847fc84f 100644 --- a/src/page/components/members.vue +++ b/src/page/components/members.vue @@ -420,7 +420,7 @@ const props = defineProps<{ const sessions = computed(() => props.neko.state.sessions as Record) const membersWithoutSessions = computed(() => { - return props.neko.state.members.filter(({ id }: { id: string }) => id && !(id in sessions.value)) as ApiModels.MemberData[] + return members.value.filter(({ id }: ApiModels.MemberData) => id && !(id in sessions.value)) as ApiModels.MemberData[] }) const members = ref([])