mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix members.
This commit is contained in:
parent
338c1dc0f9
commit
bdacd55480
@ -420,7 +420,7 @@ const props = defineProps<{
|
|||||||
|
|
||||||
const sessions = computed(() => props.neko.state.sessions as Record<string, StateModels.Session>)
|
const sessions = computed(() => props.neko.state.sessions as Record<string, StateModels.Session>)
|
||||||
const membersWithoutSessions = computed(() => {
|
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<ApiModels.MemberData[]>([])
|
const members = ref<ApiModels.MemberData[]>([])
|
||||||
|
Loading…
Reference in New Issue
Block a user