diff --git a/hub/src/libs/run.ts b/hub/src/libs/run.ts index 530f98da6..a0d2b9eda 100644 --- a/hub/src/libs/run.ts +++ b/hub/src/libs/run.ts @@ -9,6 +9,7 @@ export const getStatusIconType = (status: IRun['status']): StatusIndicatorProps[ return 'stopped'; case 'done': return 'success'; + case 'building': case 'running': case 'uploading': case 'downloading': diff --git a/hub/src/locale/en.json b/hub/src/locale/en.json index 59f6ed19e..de5bf486d 100644 --- a/hub/src/locale/en.json +++ b/hub/src/locale/en.json @@ -219,7 +219,8 @@ "aborting": "Aborting", "aborted": "Aborted", "failed": "Failed", - "done": "Done" + "done": "Done", + "building": "Building" } }, "tag": { diff --git a/hub/src/types/run.d.ts b/hub/src/types/run.d.ts index 74820e5ac..8b3b1ea19 100644 --- a/hub/src/types/run.d.ts +++ b/hub/src/types/run.d.ts @@ -24,6 +24,7 @@ declare type TRunStatus = | 'submitted' | 'downloading' | 'running' + | 'building' | 'uploading' | 'stopping' | 'stopped'