fix: key the groups list so an open modal cannot rebind to another group

This commit is contained in:
silentoplayz 2026-08-04 01:08:07 -04:00
parent a80791020a
commit 59aa524158

View file

@ -176,7 +176,7 @@
{#if filteredGroups.length !== 0}
<div class="mt-1 grid grid-cols-1">
{#each filteredGroups as group, idx}
{#each filteredGroups as group, idx (group.id)}
<GroupItem {group} {setGroups} {defaultPermissions} />
{#if idx < filteredGroups.length - 1}
<hr class="border-gray-50 dark:border-gray-850/40" />