mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(dashboard): revert to page 1 when searching list
This commit is contained in:
parent
24a0e54f2c
commit
f14fee9ae1
2 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,7 @@
|
|||
|
||||
</script>
|
||||
|
||||
<ListControl {itemType} {isPublic} {memberList} {groups} {groupList} {list} bind:finalList={processedList} bind:searchValue bind:searchBy bind:itemsPerPageValue />
|
||||
<ListControl {itemType} {isPublic} {memberList} {groups} {groupList} {list} bind:finalList={processedList} bind:searchValue bind:searchBy bind:itemsPerPageValue bind:currentPage />
|
||||
|
||||
{#if listLoading && !err}
|
||||
<div class="mx-auto text-center">
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ let privacyFilter = "all";
|
|||
let groupSearchMode = "include";
|
||||
let selectedGroups = [];
|
||||
|
||||
export let currentPage = 1;
|
||||
export let currentPage: number;
|
||||
export let isPublic: boolean;
|
||||
|
||||
$: {searchValue; privacyFilter; currentPage = 1};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue