You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/05/20 10:29:51 UTC
[dolphinscheduler] branch dev updated: [Fix][UI] Fix the problem that the failure strategy field in the time management form is multilingual. (#10169)
This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new dc61370f30 [Fix][UI] Fix the problem that the failure strategy field in the time management form is multilingual. (#10169)
dc61370f30 is described below
commit dc61370f302c6f2e8d70f50573818dc057ef2827
Author: songjianet <17...@qq.com>
AuthorDate: Fri May 20 18:29:40 2022 +0800
[Fix][UI] Fix the problem that the failure strategy field in the time management form is multilingual. (#10169)
---
.../src/views/projects/workflow/definition/timing/use-table.ts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts
index 5219a21af4..39f08725e3 100644
--- a/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts
+++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts
@@ -106,6 +106,13 @@ export function useTable() {
{
title: t('project.workflow.failure_strategy'),
key: 'failureStrategy',
+ render: (row: any) => {
+ if (row.failureStrategy === 'CONTINUE') {
+ return t('project.workflow.continue')
+ } else if (row.failureStrategy === 'END') {
+ return t('project.workflow.end')
+ }
+ },
width: 140
},
{