feat(dashboard): add item counts to group editing

This commit is contained in:
Jake Fulmine 2022-08-29 18:56:33 +02:00
parent 3e6cb3bd2c
commit 09768def91
2 changed files with 10 additions and 2 deletions

View File

@ -105,7 +105,11 @@ function memberListRenderer(item: any) {
<Col xs={12} lg={6} class="text-center mb-3">
<h5><div class="icon d-inline-block">
<FaUserFriends />
</div>Current Members</h5>
</div>Current Members
{#if finalMemberList && finalMemberList.length > 0}
({membersInGroup.length} total)
{/if}
</h5>
<ListPagination bind:currentPage bind:pageAmount bind:smallPages/>
{#if finalMemberList && finalMemberList.length > 0}
<ListGroup>

View File

@ -106,7 +106,11 @@
<Col xs={12} lg={6} class="text-center mb-3">
<h5><div class="icon d-inline-block">
<FaFolderOpen />
</div>Current Groups</h5>
</div>Current Groups
{#if finalGroupsList && finalGroupsList.length > 0}
({groupsWithMember.length} total)
{/if}
</h5>
<ListPagination bind:currentPage bind:pageAmount bind:smallPages/>
{#if finalGroupsList && finalGroupsList.length > 0}
<ListGroup>