projects
/
arvados-workbench2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa48015
)
19275: Display unknown process status badge when container not loaded yet
author
Stephen Smith <stephen@curii.com>
Fri, 27 Jan 2023 18:57:59 +0000
(13:57 -0500)
committer
Stephen Smith <stephen@curii.com>
Fri, 27 Jan 2023 18:57:59 +0000
(13:57 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
src/store/processes/process.ts
patch
|
blob
|
history
diff --git
a/src/store/processes/process.ts
b/src/store/processes/process.ts
index 2a81669cc7ad55772b9695c4e20d77cfca130412..d7fd3aa2320c3d3a3367de2c1a9dacdea337af18 100644
(file)
--- a/
src/store/processes/process.ts
+++ b/
src/store/processes/process.ts
@@
-119,6
+119,9
@@
export const getProcessStatusStyles = (status: string, theme: ArvadosTheme): Rea
export const getProcessStatus = ({ containerRequest, container }: Process): ProcessStatus => {
switch (true) {
+ case containerRequest.containerUuid && !container:
+ return ProcessStatus.UNKNOWN;
+
case containerRequest.state === ContainerRequestState.FINAL &&
container?.state !== ContainerState.COMPLETE:
// Request was finalized before its container started (or the