projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge-conflicts
[arvados-workbench2.git]
/
src
/
store
/
data-explorer
/
data-explorer-reducer.ts
diff --git
a/src/store/data-explorer/data-explorer-reducer.ts
b/src/store/data-explorer/data-explorer-reducer.ts
index 0622f0ff2ee990964f1a13e440f00f5b6a925322..01126170720c7593d9110eb74caffa3052558fd3 100644
(file)
--- 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_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))),
TOGGLE_SORT: ({ id, columnName }) =>
update(state, id, mapColumns(toggleSort(columnName))),