X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/1703f15adf9e3875ff0c78ce78117a87b70ca05c..1826bc21a34b983778f6e221b6c4004fdea1ad1d:/src/store/processes/process.ts diff --git a/src/store/processes/process.ts b/src/store/processes/process.ts index c9e62f94..ab8093b8 100644 --- 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; -export const getProcessStatusColor = (status: string, { customs }: ArvadosTheme) => { +export const getProcessStatusColor = (status: string, { customs, palette }: ArvadosTheme) => { 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: - return customs.colors.grey500; + return palette.grey["500"]; } };