X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5037fa02e44b5d53872ed82977e1e172e6848df1..cd7f6fd81788f459642408df05be2daf214ef437:/src/views/process-panel/process-io-card.tsx diff --git a/src/views/process-panel/process-io-card.tsx b/src/views/process-panel/process-io-card.tsx index 2e01282ba0..7284159ebf 100644 --- a/src/views/process-panel/process-io-card.tsx +++ b/src/views/process-panel/process-io-card.tsx @@ -24,6 +24,7 @@ import { Paper, Grid, Chip, + CircularProgress, } from '@material-ui/core'; import { ArvadosTheme } from 'common/custom-theme'; import { CloseIcon, ImageIcon, InputIcon, ImageOffIcon, OutputIcon, MaximizeIcon } from 'components/icon/icon'; @@ -192,7 +193,7 @@ export enum ProcessIOCardType { export interface ProcessIOCardDataProps { process: Process; label: ProcessIOCardType; - params: ProcessIOParameter[]; + params?: ProcessIOParameter[]; raw?: any; mounts?: InputCollectionMount[]; outputUuid?: string; @@ -251,7 +252,10 @@ export const ProcessIOCard = withStyles(styles)(connect(null, mapDispatchToProps {mainProcess ? (<> - {params.length ? + {params === undefined && + + } + {params && params.length > 0 && <> @@ -263,12 +267,12 @@ export const ProcessIOCard = withStyles(styles)(connect(null, mapDispatchToProps {mainProcTabState === 1 &&
} - : - - - - } + } + {params && params.length === 0 && + + } ) : + // Subprocess (<> {((mounts && mounts.length) || outputUuid) ? <> @@ -587,7 +591,7 @@ const KeepUrlPath = withStyles(styles)(({auth, res, pdh, classes}: KeepUrlProps const keepUrlPathNav = getKeepNavUrl(auth, res, pdh); return keepUrlPath && keepUrlPathNav ? - handleClick(keepUrlPathNav)}>{keepUrlPath} : + {keepUrlPath} : // Show No value for root collection io that lacks path part ; });