This is an automated email from the ASF dual-hosted git repository.

zhongjiajie pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit bbf621cb059e3c0515ffc0ee8af0f3707873f47c
Author: songjianet <[email protected]>
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)
    
    
    (cherry picked from commit dc61370f302c6f2e8d70f50573818dc057ef2827)
---
 .../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
       },
       {

Reply via email to