From 3e1104db668dcbfffe2e1b0165691b1d9ea306f3 Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Thu, 5 Jul 2018 12:12:26 +0200 Subject: [PATCH] Handle set_search_value action in data explorer reducer Feature #13703 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- src/store/data-explorer/data-explorer-reducer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/store/data-explorer/data-explorer-reducer.ts b/src/store/data-explorer/data-explorer-reducer.ts index 0622f0ff2e..0112617072 100644 --- a/src/store/data-explorer/data-explorer-reducer.ts +++ b/src/store/data-explorer/data-explorer-reducer.ts @@ -49,6 +49,9 @@ const dataExplorerReducer = (state: DataExplorerState = {}, action: DataExplorer SET_ROWS_PER_PAGE: ({ id, rowsPerPage }) => update(state, id, explorer => ({ ...explorer, rowsPerPage })), + SET_SEARCH_VALUE: ({ id, searchValue }) => + update(state, id, explorer => ({ ...explorer, searchValue })), + TOGGLE_SORT: ({ id, columnName }) => update(state, id, mapColumns(toggleSort(columnName))), -- 2.30.2