Handle set_search_value action in data explorer reducer
[arvados-workbench2.git] / src / store / data-explorer / data-explorer-reducer.ts
index 0622f0ff2ee990964f1a13e440f00f5b6a925322..01126170720c7593d9110eb74caffa3052558fd3 100644 (file)
@@ -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))),