16672: Removes the old process logs panel & related code.
[arvados-workbench2.git] / src / store / process-logs-panel / process-logs-panel.ts
index 74a18041bcc9e07f9f28000c8ab10588f6be0e50..0ca5d679c9caa14b0e2c2fe8847d56d57f61de29 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { matchProcessLogRoute, matchProcessRoute } from 'routes/routes';
+import { matchProcessRoute } from 'routes/routes';
 import { RouterState } from 'react-router-redux';
 
 export interface ProcessLogsPanel {
@@ -21,6 +21,6 @@ export const getProcessPanelLogs = ({ selectedFilter, logs }: ProcessLogsPanel)
 
 export const getProcessLogsPanelCurrentUuid = (router: RouterState) => {
     const pathname = router.location ? router.location.pathname : '';
-    const match = matchProcessLogRoute(pathname) || matchProcessRoute(pathname);
+    const match = matchProcessRoute(pathname);
     return match ? match.params.id : undefined;
 };