fix(dashboard): revert to page 1 when searching list
This commit is contained in:
		@@ -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};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user