Fix When the task instance status is 'STOP' (#14967)
* Fix When the task instance status is 'STOP' * Fix ITaskState types sort by ID --------- Co-authored-by: Eric Gao <ericgao.apache@gmail.com> Co-authored-by: xiangzihao <460888207@qq.com>
This commit is contained in:
parent
06c3663e22
commit
28788c7df6
|
|
@ -220,6 +220,14 @@ export const tasksState = (t: any): ITaskStateConfig => ({
|
|||
isSpin: false,
|
||||
classNames: 'pause'
|
||||
},
|
||||
STOP: {
|
||||
id: 5,
|
||||
desc: `${t('project.workflow.stop')}`,
|
||||
color: '#e90101',
|
||||
icon: StopOutlined,
|
||||
isSpin: false,
|
||||
classNames: 'stop'
|
||||
},
|
||||
FAILURE: {
|
||||
id: 6,
|
||||
desc: `${t('project.workflow.failed')}`,
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ export type ITaskState =
|
|||
| 'SUBMITTED_SUCCESS'
|
||||
| 'RUNNING_EXECUTION'
|
||||
| 'PAUSE'
|
||||
| 'STOP'
|
||||
| 'FAILURE'
|
||||
| 'SUCCESS'
|
||||
| 'NEED_FAULT_TOLERANCE'
|
||||
|
|
|
|||
Loading…
Reference in New Issue