[ARVADOS-WORKBENCH2] created: 1.3.0-293-ge74f28f0
Git user
git at public.curoverse.com
Fri Dec 28 07:29:02 EST 2018
at e74f28f099862bc5b3d05c895f07080ef761744f (commit)
commit e74f28f099862bc5b3d05c895f07080ef761744f
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date: Fri Dec 28 13:28:44 2018 +0100
14644-nanh-nanm-in-suprocess-view
Feature #14644
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
diff --git a/src/views/process-panel/process-subprocesses-card.tsx b/src/views/process-panel/process-subprocesses-card.tsx
index 7a1901f1..cc9314f7 100644
--- a/src/views/process-panel/process-subprocesses-card.tsx
+++ b/src/views/process-panel/process-subprocesses-card.tsx
@@ -91,7 +91,7 @@ export const ProcessSubprocessesCard = withStyles(styles, { withTheme: true })(
className={classes.options}
aria-label="More options"
onClick={onContextMenu}>
- <MoreOptionsIcon className={classes.moreOptions}/>
+ <MoreOptionsIcon className={classes.moreOptions} />
</IconButton>
</Tooltip>
</div>
@@ -105,7 +105,9 @@ export const ProcessSubprocessesCard = withStyles(styles, { withTheme: true })(
} />
<CardContent className={classes.content}>
<DetailsAttribute classLabel={classes.label} classValue={classes.value}
- label="Runtime" value={formatTime(getProcessRuntime(subprocess))} />
+ label="Runtime" value={subprocess.container && subprocess.container.startedAt && subprocess.container.finishedAt
+ ? formatTime(getProcessRuntime(subprocess)) :
+ '(none)'} />
</CardContent>
</Card>;
});
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list