Skip to content

Commit

Permalink
fix: fix group list being empty on pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Draconizations committed Oct 2, 2024
1 parent 30b51ee commit bfe1917
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/dash/groups/GroupMembers.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
let members: Member[] = $derived(
memberList.list.raw
.filter((m) => group.members?.includes(m.uuid || ""))
.filter((m) =>
groupList.list.raw.find((g) => g.uuid === group.uuid)?.members?.includes(m.uuid || "")
)
.sort((a, b) => a.name?.localeCompare(b.name || "") || 0)
)
Expand Down

0 comments on commit bfe1917

Please sign in to comment.