fix(plugin-workflow): add enablement editing back to workflow form (#2431)

This commit is contained in:
Junyi 2023-08-11 12:59:31 +07:00 committed by GitHub
parent 5408d29533
commit 78b49b82ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -90,6 +90,10 @@ const workflowFieldset = {
'x-component': 'CollectionField',
'x-decorator': 'FormItem',
},
enabled: {
'x-component': 'CollectionField',
'x-decorator': 'FormItem',
},
description: {
'x-component': 'CollectionField',
'x-decorator': 'FormItem',
@ -101,7 +105,7 @@ const workflowFieldset = {
useTransaction: {
type: 'boolean',
title: `{{ t("Use transaction", { ns: "${NAMESPACE}" }) }}`,
description: `{{ t("Nodes of workflow will run in a same transaction. Any failure will cause data rollback, and will also rollback the history of the execution.", { ns: "${NAMESPACE}" }) }}`,
description: `{{ t("Data operation nodes in workflow will run in a same transaction until any interruption. Any failure will cause data rollback, and will also rollback the history of the execution.", { ns: "${NAMESPACE}" }) }}`,
'x-decorator': 'FormItem',
'x-component': 'Checkbox',
},

View File

@ -19,7 +19,7 @@ export default {
Loading: '加载中',
'Load failed': '加载失败',
'Use transaction': '启用事务',
'Nodes of workflow will run in a same transaction. Any failure will cause data rollback, and will also rollback the history of the execution.':
'Data operation nodes in workflow will run in a same transaction until any interruption. Any failure will cause data rollback, and will also rollback the history of the execution.':
'工作流中的节点将在同一个事务中运行。任何失败都会导致数据回滚,同时也会回滚相应的执行历史。',
'Auto delete history when execution is on end status': '执行结束后自动删除对应状态的历史记录',
Trigger: '触发器',