X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/085692af7ee9809e2714edacad1251e78a196bd3..e42867f560b3c2f4c09cf6a2c07c964c63714141:/src/views/process-log-panel/process-log-panel.tsx diff --git a/src/views/process-log-panel/process-log-panel.tsx b/src/views/process-log-panel/process-log-panel.tsx index d578e784..9f61f8b6 100644 --- a/src/views/process-log-panel/process-log-panel.tsx +++ b/src/views/process-log-panel/process-log-panel.tsx @@ -2,15 +2,15 @@ // // SPDX-License-Identifier: AGPL-3.0 -import { RootState } from '~/store/store'; +import { RootState } from 'store/store'; import { connect } from 'react-redux'; -import { getProcess } from '~/store/processes/process'; +import { getProcess } from 'store/processes/process'; import { Dispatch } from 'redux'; -import { openProcessContextMenu } from '~/store/context-menu/context-menu-actions'; +import { openProcessContextMenu } from 'store/context-menu/context-menu-actions'; import { ProcessLogPanelRootDataProps, ProcessLogPanelRootActionProps, ProcessLogPanelRoot } from './process-log-panel-root'; -import { getProcessPanelLogs } from '~/store/process-logs-panel/process-logs-panel'; -import { setProcessLogsPanelFilter } from '~/store/process-logs-panel/process-logs-panel-actions'; -import { getProcessLogsPanelCurrentUuid } from '../../store/process-logs-panel/process-logs-panel'; +import { getProcessPanelLogs } from 'store/process-logs-panel/process-logs-panel'; +import { setProcessLogsPanelFilter, navigateToLogCollection } from 'store/process-logs-panel/process-logs-panel-actions'; +import { getProcessLogsPanelCurrentUuid } from 'store/process-logs-panel/process-logs-panel'; export interface Log { object_uuid: string; @@ -42,6 +42,9 @@ const mapDispatchToProps = (dispatch: Dispatch): ProcessLogPanelRootActionProps }, onChange: filter => { dispatch(setProcessLogsPanelFilter(filter.value)); + }, + navigateToLogCollection: (uuid: string) => { + dispatch(navigateToLogCollection(uuid)); } });