mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 01:30:13 +00:00
fix(dashboard): correctly show group count in group list
This commit is contained in:
parent
434ed3e50c
commit
96622c5bd4
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
{:else}
|
{:else}
|
||||||
<span class="itemcounter">{members.length} {pageOptions.type}s ({currentGroups.length} shown) <a href="#!" on:click={(e) => {e.preventDefault(); fetchList()}}>Refresh list</a></span>
|
<span class="itemcounter">{groups.length} {pageOptions.type}s ({currentGroups.length} shown) <a href="#!" on:click={(e) => {e.preventDefault(); fetchList()}}>Refresh list</a></span>
|
||||||
|
|
||||||
<ListPagination bind:currentPage={pageOptions.currentPage} {pageAmount} />
|
<ListPagination bind:currentPage={pageOptions.currentPage} {pageAmount} />
|
||||||
|
|
||||||
|
|
@ -88,7 +88,7 @@
|
||||||
{:else if pageOptions.view === "tiny"}
|
{:else if pageOptions.view === "tiny"}
|
||||||
tiny!
|
tiny!
|
||||||
{:else}
|
{:else}
|
||||||
<ListView currentList={currentGroups} {pageOptions} {options} fullListLength={members.length} />
|
<ListView currentList={currentGroups} {pageOptions} {options} fullListLength={groups.length} />
|
||||||
{/if}
|
{/if}
|
||||||
<ListPagination bind:currentPage={pageOptions.currentPage} {pageAmount} />
|
<ListPagination bind:currentPage={pageOptions.currentPage} {pageAmount} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue