projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 14043-switch-tagging-adding-properties
[arvados-workbench2.git]
/
src
/
store
/
processes
/
process.ts
diff --git
a/src/store/processes/process.ts
b/src/store/processes/process.ts
index c9e62f943455a2ebaae9b8d8b45c16ff8084a62f..ab8093b856c4c259b1bab8992e98293444f7ac78 100644
(file)
--- a/
src/store/processes/process.ts
+++ b/
src/store/processes/process.ts
@@
-61,7
+61,7
@@
export const getProcessRuntime = ({ container }: Process) =>
? getTimeDiff(container.finishedAt || '', container.startedAt || '')
: 0;
? getTimeDiff(container.finishedAt || '', container.startedAt || '')
: 0;
-export const getProcessStatusColor = (status: string, { customs }: ArvadosTheme) => {
+export const getProcessStatusColor = (status: string, { customs
, palette
}: ArvadosTheme) => {
switch (status) {
case ProcessStatus.RUNNING:
return customs.colors.blue500;
switch (status) {
case ProcessStatus.RUNNING:
return customs.colors.blue500;
@@
-71,7
+71,7
@@
export const getProcessStatusColor = (status: string, { customs }: ArvadosTheme)
case ProcessStatus.FAILED:
return customs.colors.red900;
default:
case ProcessStatus.FAILED:
return customs.colors.red900;
default:
- return
customs.colors.grey500
;
+ return
palette.grey["500"]
;
}
};
}
};