mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 13:39:53 +00:00
feat(ui): add prompt message during workflow running
This commit is contained in:
parent
598d0705fb
commit
d9f38c38a6
@ -50,5 +50,6 @@
|
|||||||
"workflow.detail.orchestration.action.release.failed.uncompleted": "Please complete the orchestration first",
|
"workflow.detail.orchestration.action.release.failed.uncompleted": "Please complete the orchestration first",
|
||||||
"workflow.detail.orchestration.action.run": "Run",
|
"workflow.detail.orchestration.action.run": "Run",
|
||||||
"workflow.detail.orchestration.action.run.confirm": "You have unreleased changes. Do you really want to run this workflow based on the latest released version?",
|
"workflow.detail.orchestration.action.run.confirm": "You have unreleased changes. Do you really want to run this workflow based on the latest released version?",
|
||||||
|
"workflow.detail.orchestration.action.run.prompt": "Running... Please check the history later",
|
||||||
"workflow.detail.runs.tab": "History runs"
|
"workflow.detail.runs.tab": "History runs"
|
||||||
}
|
}
|
||||||
|
@ -50,5 +50,6 @@
|
|||||||
"workflow.detail.orchestration.action.release.failed.uncompleted": "流程编排未完成,请检查是否有节点未配置",
|
"workflow.detail.orchestration.action.release.failed.uncompleted": "流程编排未完成,请检查是否有节点未配置",
|
||||||
"workflow.detail.orchestration.action.run": "执行",
|
"workflow.detail.orchestration.action.run": "执行",
|
||||||
"workflow.detail.orchestration.action.run.confirm": "你有尚未发布的更改。你确定要以最近一次发布的版本继续执行吗?",
|
"workflow.detail.orchestration.action.run.confirm": "你有尚未发布的更改。你确定要以最近一次发布的版本继续执行吗?",
|
||||||
|
"workflow.detail.orchestration.action.run.prompt": "执行中……请稍后查看执行历史",
|
||||||
"workflow.detail.runs.tab": "执行历史"
|
"workflow.detail.runs.tab": "执行历史"
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ const WorkflowDetail = () => {
|
|||||||
|
|
||||||
await runWorkflow(workflowId!);
|
await runWorkflow(workflowId!);
|
||||||
|
|
||||||
messageApi.success(t("common.text.operation_succeeded"));
|
messageApi.info(t("workflow.detail.orchestration.action.run.prompt"));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
setIsRunning(false);
|
setIsRunning(false);
|
||||||
unsubscribeFn?.();
|
unsubscribeFn?.();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user