From 97e9acbdf4ff5aecf58a74ff6734891aad3668ec Mon Sep 17 00:00:00 2001 From: Maina Wycliffe Date: Thu, 6 Jun 2024 09:40:10 +0300 Subject: [PATCH] fix: Config changes - reset page to 1 when filters change Fixes #2007 --- .../Configs/Insights/Filters/ConfigInsightsFilters.tsx | 2 +- src/pages/config/ConfigChangesPage.tsx | 2 +- src/pages/config/ConfigInsightsList.tsx | 2 +- src/pages/config/details/ConfigDetailsChangesPage.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Configs/Insights/Filters/ConfigInsightsFilters.tsx b/src/components/Configs/Insights/Filters/ConfigInsightsFilters.tsx index ec819afe6..7ffc3262a 100644 --- a/src/components/Configs/Insights/Filters/ConfigInsightsFilters.tsx +++ b/src/components/Configs/Insights/Filters/ConfigInsightsFilters.tsx @@ -10,7 +10,7 @@ type ConfigInsightsFiltersProps = { }; export function ConfigInsightsFilters({ - paramsToReset = ["pageIndex", "pageSize"] + paramsToReset = ["pageIndex"] }: ConfigInsightsFiltersProps) { return (
- +
- +