projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create new search query parser
[arvados-workbench2.git]
/
src
/
store
/
store.ts
diff --git
a/src/store/store.ts
b/src/store/store.ts
index 60a4b4f007ef3640b18f8c4e9028c490fc5050a6..04813b1cf35bbc8194449493cc542dccbf5d78ce 100644
(file)
--- a/
src/store/store.ts
+++ b/
src/store/store.ts
@@
-8,6
+8,7
@@
import thunkMiddleware from 'redux-thunk';
import { History } from "history";
import { authReducer } from "./auth/auth-reducer";
import { History } from "history";
import { authReducer } from "./auth/auth-reducer";
+import { configReducer } from "./config/config-reducer";
import { dataExplorerReducer } from './data-explorer/data-explorer-reducer';
import { detailsPanelReducer } from './details-panel/details-panel-reducer';
import { contextMenuReducer } from './context-menu/context-menu-reducer';
import { dataExplorerReducer } from './data-explorer/data-explorer-reducer';
import { detailsPanelReducer } from './details-panel/details-panel-reducer';
import { contextMenuReducer } from './context-menu/context-menu-reducer';
@@
-61,7
+62,8
@@
import { ApiClientAuthorizationMiddlewareService } from '~/store/api-client-auth
const composeEnhancers =
(process.env.NODE_ENV === 'development' &&
const composeEnhancers =
(process.env.NODE_ENV === 'development' &&
- window && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) ||
+ window && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ &&
+ window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ trace: true, traceLimit: 25 })) ||
compose;
export type RootState = ReturnType<ReturnType<typeof createRootReducer>>;
compose;
export type RootState = ReturnType<ReturnType<typeof createRootReducer>>;
@@
-129,6
+131,7
@@
export function configureStore(history: History, services: ServiceRepository): R
const createRootReducer = (services: ServiceRepository) => combineReducers({
auth: authReducer(services),
const createRootReducer = (services: ServiceRepository) => combineReducers({
auth: authReducer(services),
+ config: configReducer,
collectionPanel: collectionPanelReducer,
collectionPanelFiles: collectionPanelFilesReducer,
contextMenu: contextMenuReducer,
collectionPanel: collectionPanelReducer,
collectionPanelFiles: collectionPanelFilesReducer,
contextMenu: contextMenuReducer,