From 239043bc6144f7a42b261d6274dab35bfc5452f1 Mon Sep 17 00:00:00 2001 From: Jake/Rads Date: Mon, 27 Jun 2022 15:00:41 +0200 Subject: [PATCH] fix(dashboard): pass correct list to child --- dashboard/src/pages/Group.svelte | 2 +- dashboard/src/pages/Member.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/pages/Group.svelte b/dashboard/src/pages/Group.svelte index 190710b0..bdb92f69 100644 --- a/dashboard/src/pages/Group.svelte +++ b/dashboard/src/pages/Group.svelte @@ -156,7 +156,7 @@ - deleteMemberFromList(e)} bind:list={members} isPublic={isPublic} isMainDash={false} itemType="member" itemsPerPage={itemsPerPage} currentPage={currentPage} /> + deleteMemberFromList(e)} bind:list={slicedMembers} isPublic={isPublic} isMainDash={false} itemType="member" itemsPerPage={itemsPerPage} currentPage={currentPage} /> {/if} {/if} diff --git a/dashboard/src/pages/Member.svelte b/dashboard/src/pages/Member.svelte index 9aa9d7c4..3b9ff508 100644 --- a/dashboard/src/pages/Member.svelte +++ b/dashboard/src/pages/Member.svelte @@ -158,7 +158,7 @@ - deleteGroupFromList(e)} bind:list={groups} isPublic={isPublic} isMainDash={false} itemType="group" itemsPerPage={itemsPerPage} currentPage={currentPage} /> + deleteGroupFromList(e)} bind:list={slicedGroups} isPublic={isPublic} isMainDash={false} itemType="group" itemsPerPage={itemsPerPage} currentPage={currentPage} /> {/if} {/if}