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:49:24 UTC
[dolphinscheduler] branch 3.0.0-beta-prepare updated: [Cherry-Pick][Fix][UI] Fix the problem that the failure strategy field in the time management form is multilingual. (#10173)
This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.0.0-beta-prepare by this push:
new 0279391da7 [Cherry-Pick][Fix][UI] Fix the problem that the failure strategy field in the time management form is multilingual. (#10173)
0279391da7 is described below
commit 0279391da7b7938c0c1b2654948baaf25b273bac
Author: songjianet <17...@qq.com>
AuthorDate: Fri May 20 18:49:20 2022 +0800
[Cherry-Pick][Fix][UI] Fix the problem that the failure strategy field in the time management form is multilingual. (#10173)
---
.../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
},
{