projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '19690-roject-column-options' closes #19690 Arvados-DCO-1.1-Signed-off...
[arvados-workbench2.git]
/
src
/
store
/
process-logs-panel
/
process-logs-panel.ts
diff --git
a/src/store/process-logs-panel/process-logs-panel.ts
b/src/store/process-logs-panel/process-logs-panel.ts
index deaaab6a85515b5e4464f361c958ab5894ec06b1..0ca5d679c9caa14b0e2c2fe8847d56d57f61de29 100644
(file)
--- a/
src/store/process-logs-panel/process-logs-panel.ts
+++ b/
src/store/process-logs-panel/process-logs-panel.ts
@@
-1,9
+1,10
@@
-import { RootState } from '../store';
-import { matchProcessLogRoute } from 'routes/routes';
// Copyright (C) The Arvados Authors. All rights reserved.
//
// SPDX-License-Identifier: AGPL-3.0
// Copyright (C) The Arvados Authors. All rights reserved.
//
// SPDX-License-Identifier: AGPL-3.0
+import { matchProcessRoute } from 'routes/routes';
+import { RouterState } from 'react-router-redux';
+
export interface ProcessLogsPanel {
filters: string[];
selectedFilter: string;
export interface ProcessLogsPanel {
filters: string[];
selectedFilter: string;
@@
-18,8
+19,8
@@
export const getProcessPanelLogs = ({ selectedFilter, logs }: ProcessLogsPanel)
return logs[selectedFilter];
};
return logs[selectedFilter];
};
-export const getProcessLogsPanelCurrentUuid = (
{ router }: Root
State) => {
+export const getProcessLogsPanelCurrentUuid = (
router: Router
State) => {
const pathname = router.location ? router.location.pathname : '';
const pathname = router.location ? router.location.pathname : '';
- const match = matchProcess
Log
Route(pathname);
+ const match = matchProcessRoute(pathname);
return match ? match.params.id : undefined;
};
return match ? match.params.id : undefined;
};