diff --git a/src/components/dash/edit/DeleteButton.svelte b/src/components/dash/edit/DeleteButton.svelte index 5aed9c5..dc50441 100644 --- a/src/components/dash/edit/DeleteButton.svelte +++ b/src/components/dash/edit/DeleteButton.svelte @@ -10,11 +10,13 @@ type, asPage, list, + groupList, }: { item: Member | Group type: "member" | "group" asPage: boolean list: DashList + groupList: DashList } = $props() let element: HTMLDialogElement @@ -35,7 +37,7 @@ if (!asPage) { list.list.raw = list.list.raw.filter((g) => g.uuid !== item.uuid) - list.process() + list.process(groupList.list.raw) list.paginate() } else { goto(`/dash/${dash.user?.id}?tab=${type}s`) diff --git a/src/components/dash/groups/edit/GroupInfoEdit.svelte b/src/components/dash/groups/edit/GroupInfoEdit.svelte index 7c9c225..305d64f 100644 --- a/src/components/dash/groups/edit/GroupInfoEdit.svelte +++ b/src/components/dash/groups/edit/GroupInfoEdit.svelte @@ -222,5 +222,5 @@ {/if} - + diff --git a/src/components/dash/groups/edit/GroupMemberEdit.svelte b/src/components/dash/groups/edit/GroupMemberEdit.svelte index 7ecab43..3e41cab 100644 --- a/src/components/dash/groups/edit/GroupMemberEdit.svelte +++ b/src/components/dash/groups/edit/GroupMemberEdit.svelte @@ -276,7 +276,7 @@ {/if} - + {#snippet option(opt: any)} diff --git a/src/components/dash/groups/edit/GroupViewEdit.svelte b/src/components/dash/groups/edit/GroupViewEdit.svelte index e79f75a..11c010e 100644 --- a/src/components/dash/groups/edit/GroupViewEdit.svelte +++ b/src/components/dash/groups/edit/GroupViewEdit.svelte @@ -163,5 +163,5 @@ {/if} - + diff --git a/src/components/dash/members/edit/MemberGroupEdit.svelte b/src/components/dash/members/edit/MemberGroupEdit.svelte index 85b898a..83b6170 100644 --- a/src/components/dash/members/edit/MemberGroupEdit.svelte +++ b/src/components/dash/members/edit/MemberGroupEdit.svelte @@ -296,7 +296,7 @@ {/if} - + {#snippet option(opt: any)} diff --git a/src/components/dash/members/edit/MemberInfoEdit.svelte b/src/components/dash/members/edit/MemberInfoEdit.svelte index f9209b8..e04f54c 100644 --- a/src/components/dash/members/edit/MemberInfoEdit.svelte +++ b/src/components/dash/members/edit/MemberInfoEdit.svelte @@ -320,5 +320,5 @@ {/if} - + diff --git a/src/components/dash/members/edit/MemberViewEdit.svelte b/src/components/dash/members/edit/MemberViewEdit.svelte index 2f3bc2e..659431d 100644 --- a/src/components/dash/members/edit/MemberViewEdit.svelte +++ b/src/components/dash/members/edit/MemberViewEdit.svelte @@ -191,5 +191,5 @@ {/if} - +