From 16bd70da1d3f8cfc12df279d5f050b77fb7ee957 Mon Sep 17 00:00:00 2001 From: Davide Bizzi Date: Wed, 13 Mar 2024 12:10:47 +0100 Subject: [PATCH] fix: Combine filters --- src/pages/campaigns/selection/selectionSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/campaigns/selection/selectionSlice.ts b/src/pages/campaigns/selection/selectionSlice.ts index 953aebd3..e023a243 100644 --- a/src/pages/campaigns/selection/selectionSlice.ts +++ b/src/pages/campaigns/selection/selectionSlice.ts @@ -71,7 +71,7 @@ const selectionSlice = createSlice({ }; }> ) { - state.filters = action.payload; + state.filters = { ...state.filters, ...action.payload }; }, reset() { return initialState;