Commit 337e12a3 authored by zhu-mingye's avatar zhu-mingye

优化任务状态为 running , finished , canceled and failed 显示flinkwebui按钮

parent 2d03d13b
......@@ -4,8 +4,8 @@ import {
ClockCircleOutlined,
CloseCircleOutlined,
MinusCircleOutlined,
SyncOutlined,
QuestionCircleOutlined
QuestionCircleOutlined,
SyncOutlined
} from "@ant-design/icons";
export type JobStatusFormProps = {
......@@ -34,10 +34,10 @@ export function isStatusDone(type: string){
case JOB_STATUS.FAILED:
case JOB_STATUS.CANCELED:
case JOB_STATUS.FINISHED:
case JOB_STATUS.UNKNOWN:
return true;
default:
case JOB_STATUS.RUNNING:
return false;
default:
return true;
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment