fix(dashboard): show filtered group/member count

This commit is contained in:
Jake Fulmine 2023-06-03 22:08:03 +02:00
parent b4e7f9a6c3
commit c3ade8f455
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@
</Col>
</Row>
{:else}
<span class="itemcounter">{groups.length} {pageOptions.type}s ({currentGroups.length} shown) <a href="#!" on:click={(e) => {e.preventDefault(); fetchList()}}>Refresh list</a></span>
<span class="itemcounter">{processedGroups.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} />

View File

@ -76,7 +76,7 @@
</Col>
</Row>
{:else}
<span class="itemcounter">{members.length} {pageOptions.type}s ({currentMembers.length} shown) <a href="#!" on:click={(e) => {e.preventDefault(); fetchList()}}>Refresh list</a></span>
<span class="itemcounter">{processedMembers.length} {pageOptions.type}s ({currentMembers.length} shown) <a href="#!" on:click={(e) => {e.preventDefault(); fetchList()}}>Refresh list</a></span>
<ListPagination bind:currentPage={pageOptions.currentPage} {pageAmount} />