fix(dashboard): count filtered amount of items in list instead of all

This commit is contained in:
Jake Fulmine 2022-08-29 18:44:27 +02:00
parent 67d5118c9c
commit 3e6cb3bd2c

View File

@ -133,7 +133,7 @@
</Col> </Col>
</Row> </Row>
{:else} {:else}
<span class="itemcounter">{list.length} {itemType}s ({slicedList.length} shown)</span> <span class="itemcounter">{processedList.length} {itemType}s ({slicedList.length} shown)</span>
<ListSearch bind:searchBy bind:searchValue on:refresh={fetchList} /> <ListSearch bind:searchBy bind:searchValue on:refresh={fetchList} />
<ListPagination bind:currentPage {pageAmount} /> <ListPagination bind:currentPage {pageAmount} />