From f14fee9ae1f8c72eae15e2ebd58b0f5edefc49b3 Mon Sep 17 00:00:00 2001 From: Jake/Rads Date: Fri, 24 Jun 2022 07:59:51 +0200 Subject: [PATCH] fix(dashboard): revert to page 1 when searching list --- dashboard/src/lib/list/List.svelte | 2 +- dashboard/src/lib/list/ListControl.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/src/lib/list/List.svelte b/dashboard/src/lib/list/List.svelte index b47135f5..81d0cc82 100644 --- a/dashboard/src/lib/list/List.svelte +++ b/dashboard/src/lib/list/List.svelte @@ -123,7 +123,7 @@ - + {#if listLoading && !err}
diff --git a/dashboard/src/lib/list/ListControl.svelte b/dashboard/src/lib/list/ListControl.svelte index 626b4e74..008d5500 100644 --- a/dashboard/src/lib/list/ListControl.svelte +++ b/dashboard/src/lib/list/ListControl.svelte @@ -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};