fix(dashboard): pass correct list to child
This commit is contained in:
		| @@ -156,7 +156,7 @@ | |||||||
|                 </CardHeader> |                 </CardHeader> | ||||||
|             </Card> |             </Card> | ||||||
|             <ListPagination bind:currentPage bind:pageAmount /> |             <ListPagination bind:currentPage bind:pageAmount /> | ||||||
|             <CardsList on:deletion={(e) => deleteMemberFromList(e)} bind:list={members} isPublic={isPublic} isMainDash={false} itemType="member" itemsPerPage={itemsPerPage} currentPage={currentPage} /> |             <CardsList on:deletion={(e) => deleteMemberFromList(e)} bind:list={slicedMembers} isPublic={isPublic} isMainDash={false} itemType="member" itemsPerPage={itemsPerPage} currentPage={currentPage} /> | ||||||
|             <ListPagination bind:currentPage bind:pageAmount /> |             <ListPagination bind:currentPage bind:pageAmount /> | ||||||
|             {/if} |             {/if} | ||||||
|             {/if} |             {/if} | ||||||
|   | |||||||
| @@ -158,7 +158,7 @@ | |||||||
|                 </CardHeader> |                 </CardHeader> | ||||||
|             </Card> |             </Card> | ||||||
|             <ListPagination bind:currentPage bind:pageAmount /> |             <ListPagination bind:currentPage bind:pageAmount /> | ||||||
|             <CardsList on:deletion={(e) => deleteGroupFromList(e)} bind:list={groups} isPublic={isPublic} isMainDash={false} itemType="group" itemsPerPage={itemsPerPage} currentPage={currentPage} /> |             <CardsList on:deletion={(e) => deleteGroupFromList(e)} bind:list={slicedGroups} isPublic={isPublic} isMainDash={false} itemType="group" itemsPerPage={itemsPerPage} currentPage={currentPage} /> | ||||||
|             <ListPagination bind:currentPage bind:pageAmount /> |             <ListPagination bind:currentPage bind:pageAmount /> | ||||||
|             {/if} |             {/if} | ||||||
|             {/if} |             {/if} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user