mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +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>
|
</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}
|
{#if listLoading && !err}
|
||||||
<div class="mx-auto text-center">
|
<div class="mx-auto text-center">
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ let privacyFilter = "all";
|
||||||
let groupSearchMode = "include";
|
let groupSearchMode = "include";
|
||||||
let selectedGroups = [];
|
let selectedGroups = [];
|
||||||
|
|
||||||
export let currentPage = 1;
|
export let currentPage: number;
|
||||||
export let isPublic: boolean;
|
export let isPublic: boolean;
|
||||||
|
|
||||||
$: {searchValue; privacyFilter; currentPage = 1};
|
$: {searchValue; privacyFilter; currentPage = 1};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue