Fix view task status module on project homepage cannot read property label of undefined (#6956)

refactor-ui
Kerwin 2021-11-30 10:00:54 +08:00 committed by GitHub
parent 631a31b6ac
commit f0630bc9a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,7 @@ public enum ExecutionStatus {
* 11 waiting depend node complete
* 12 delay execution
* 13 forced success
* 14 serial wait
*/
SUBMITTED_SUCCESS(0, "submit success"),
RUNNING_EXECUTION(1, "running"),

View File

@ -66,6 +66,9 @@ const stateType = [
}, {
code: 'FORCED_SUCCESS',
label: `${i18n.$t('Forced success')}`
}, {
code: 'SERIAL_WAIT',
label: `${i18n.$t('Serial wait')}`
}
]