X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c4975431c61ee21b9eaf10b00aa88e5d9858de59..38db7657138744ed97b924bc3396a1ec00de9be3:/src/store/workbench/workbench-actions.ts?ds=sidebyside diff --git a/src/store/workbench/workbench-actions.ts b/src/store/workbench/workbench-actions.ts index e1fcae4b8d..761ffb75e8 100644 --- a/src/store/workbench/workbench-actions.ts +++ b/src/store/workbench/workbench-actions.ts @@ -170,7 +170,6 @@ export const loadWorkbench = const { auth, router } = getState(); const { user } = auth; if (user) { - // console.log('PREJECTPANELCOLUMNS', projectPanelColumns); dispatch( projectPanelActions.SET_COLUMNS({ columns: projectPanelColumns }) ); @@ -580,11 +579,13 @@ export const loadProcess = (uuid: string) => handleFirstTimeLoad(async (dispatch: Dispatch, getState: () => RootState) => { dispatch(loadProcessPanel(uuid)); const process = await dispatch(processesActions.loadProcess(uuid)); - await dispatch( - activateSidePanelTreeItem(process.containerRequest.ownerUuid) - ); - dispatch(setProcessBreadcrumbs(uuid)); - dispatch(loadDetailsPanel(uuid)); + if (process) { + await dispatch( + activateSidePanelTreeItem(process.containerRequest.ownerUuid) + ); + dispatch(setProcessBreadcrumbs(uuid)); + dispatch(loadDetailsPanel(uuid)); + } }); export const updateProcess =