diff --git a/dolphinscheduler-ui/src/common/common.ts b/dolphinscheduler-ui/src/common/common.ts index b1aae9b9d6..261e8271c7 100644 --- a/dolphinscheduler-ui/src/common/common.ts +++ b/dolphinscheduler-ui/src/common/common.ts @@ -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')}`, diff --git a/dolphinscheduler-ui/src/common/types.ts b/dolphinscheduler-ui/src/common/types.ts index ec40e638b5..c6d9eecc07 100644 --- a/dolphinscheduler-ui/src/common/types.ts +++ b/dolphinscheduler-ui/src/common/types.ts @@ -20,6 +20,7 @@ export type ITaskState = | 'SUBMITTED_SUCCESS' | 'RUNNING_EXECUTION' | 'PAUSE' + | 'STOP' | 'FAILURE' | 'SUCCESS' | 'NEED_FAULT_TOLERANCE'