mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 17:50:13 +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">
|
<Col xs={12} lg={6} class="text-center mb-3">
|
||||||
<h5><div class="icon d-inline-block">
|
<h5><div class="icon d-inline-block">
|
||||||
<FaUserFriends />
|
<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/>
|
<ListPagination bind:currentPage bind:pageAmount bind:smallPages/>
|
||||||
{#if finalMemberList && finalMemberList.length > 0}
|
{#if finalMemberList && finalMemberList.length > 0}
|
||||||
<ListGroup>
|
<ListGroup>
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,11 @@
|
||||||
<Col xs={12} lg={6} class="text-center mb-3">
|
<Col xs={12} lg={6} class="text-center mb-3">
|
||||||
<h5><div class="icon d-inline-block">
|
<h5><div class="icon d-inline-block">
|
||||||
<FaFolderOpen />
|
<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/>
|
<ListPagination bind:currentPage bind:pageAmount bind:smallPages/>
|
||||||
{#if finalGroupsList && finalGroupsList.length > 0}
|
{#if finalGroupsList && finalGroupsList.length > 0}
|
||||||
<ListGroup>
|
<ListGroup>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue