diff --git a/app/ui/groups/table.tsx b/app/ui/groups/table.tsx index 253c271..93e6d4b 100644 --- a/app/ui/groups/table.tsx +++ b/app/ui/groups/table.tsx @@ -35,6 +35,7 @@ export default function GroupsTable({ groups, onUpdate, onEdit, onEditAffinities return acc; }, new Map()); + groups.forEach(group => group.children = []); groups.forEach(group => { if (group.parentId) { const parent = index.get(group.parentId);