Merge branch '21535-multi-wf-delete'
[arvados.git] / services / workbench2 / src / store / data-explorer / data-explorer-reducer.ts
index b50eabd69ac11d7da6b670bef0e614d95630a20d..2bc8caad365cbaa14232d5eba7536454bc9b609a 100644 (file)
@@ -30,7 +30,7 @@ export interface DataExplorer {
     searchValue: string;
     working?: boolean;
     requestState: DataTableRequestState;
-    isResponse404: boolean;
+    isNotFound: boolean;
 }
 
 export const initialDataExplorer: DataExplorer = {
@@ -43,7 +43,7 @@ export const initialDataExplorer: DataExplorer = {
     rowsPerPageOptions: [10, 20, 50, 100, 200, 500],
     searchValue: '',
     requestState: DataTableRequestState.IDLE,
-    isResponse404: false,
+    isNotFound: false,
 };
 
 export type DataExplorerState = Record<string, DataExplorer>;
@@ -121,8 +121,8 @@ export const dataExplorerReducer = (
         TOGGLE_COLUMN: ({ id, columnName }) =>
             update(state, id, mapColumns(toggleColumn(columnName))),
 
-        SET_IS_RESPONSE_404: ({ id, isResponse404 }) =>
-            update(state, id, (explorer) => ({ ...explorer, isResponse404 })),
+        SET_IS_NOT_FOUND: ({ id, isNotFound }) =>
+            update(state, id, (explorer) => ({ ...explorer, isNotFound })),
 
         default: () => state,
     });