From 68316f68fa9b90560846c3a12274edec2bf5d960 Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Mon, 15 Aug 2022 21:07:20 +0800 Subject: [PATCH] [Fix][UI] Fix the table header in the workflow instance. (#11487) --- dolphinscheduler-ui/src/locales/en_US/project.ts | 1 + dolphinscheduler-ui/src/locales/zh_CN/project.ts | 1 + .../src/views/projects/workflow/instance/use-table.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/locales/en_US/project.ts b/dolphinscheduler-ui/src/locales/en_US/project.ts index 1c142bf1db..a88bc44e12 100644 --- a/dolphinscheduler-ui/src/locales/en_US/project.ts +++ b/dolphinscheduler-ui/src/locales/en_US/project.ts @@ -43,6 +43,7 @@ export default { create_workflow: 'Create Workflow', import_workflow: 'Import Workflow', workflow_name: 'Workflow Name', + workflow_instance_name: 'Workflow Instance Name', current_selection: 'Current Selection', online: 'Online', offline: 'Offline', diff --git a/dolphinscheduler-ui/src/locales/zh_CN/project.ts b/dolphinscheduler-ui/src/locales/zh_CN/project.ts index f2857b6ef7..48a01fc5a0 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/project.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/project.ts @@ -43,6 +43,7 @@ export default { create_workflow: '创建工作流', import_workflow: '导入工作流', workflow_name: '工作流名称', + workflow_instance_name: '工作流实例名称', current_selection: '当前选择', online: '已上线', offline: '已下线', diff --git a/dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts index c2d8ed1243..08e4d312fa 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts @@ -77,7 +77,7 @@ export function useTable() { render: (rowData: any, rowIndex: number) => rowIndex + 1 }, { - title: t('project.workflow.workflow_name'), + title: t('project.workflow.workflow_instance_name'), key: 'name', ...COLUMN_WIDTH_CONFIG['linkName'], className: 'workflow-name',