mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(dashboard): add item counts to group editing
This commit is contained in:
parent
3e6cb3bd2c
commit
09768def91
2 changed files with 10 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue