fixing dashboard state filters (#20480)
This commit is contained in:
parent
bd52c60742
commit
0c7b44dcb7
|
@ -17,6 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import { cloneDeep } from 'lodash';
|
||||
import { Reducer } from 'redux';
|
||||
import { ViewActions, ViewActionTypeKeys } from '../actions';
|
||||
|
||||
|
@ -60,7 +61,7 @@ const updateTimeRange = (view: ViewState, timeRange: TimeRange) => ({
|
|||
|
||||
const updateFilters = (view: ViewState, filters: Filters) => ({
|
||||
...view,
|
||||
filters,
|
||||
filters: cloneDeep(filters),
|
||||
});
|
||||
|
||||
const updateQuery = (view: ViewState, query: Query) => ({
|
||||
|
|
Loading…
Reference in a new issue