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 a866465 [Fix][UI Next][V1.0.0-Alpha] Fix the time columns cannot be
broken in the cron manage table. (#9334)
a866465 is described below
commit a866465d010256d03228e4b00b74f4fc28d09b8c
Author: songjianet <[email protected]>
AuthorDate: Sat Apr 2 18:12:31 2022 +0800
[Fix][UI Next][V1.0.0-Alpha] Fix the time columns cannot be broken in the
cron manage table. (#9334)
---
dolphinscheduler-ui-next/src/utils/column-width-config.ts | 3 +++
.../src/views/projects/workflow/definition/timing/use-table.ts | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dolphinscheduler-ui-next/src/utils/column-width-config.ts
b/dolphinscheduler-ui-next/src/utils/column-width-config.ts
index 30798e9..4135855 100644
--- a/dolphinscheduler-ui-next/src/utils/column-width-config.ts
+++ b/dolphinscheduler-ui-next/src/utils/column-width-config.ts
@@ -46,6 +46,9 @@ export const COLUMN_WIDTH_CONFIG = {
time: {
width: 180
},
+ timeZone: {
+ width: 220
+ },
operation: (number: number): CommonColumnInfo => ({
fixed: 'right',
width: Math.max(30 * number + 12 * (number - 1) + 24, 100)
diff --git
a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts
b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts
index 97d7932..a77906e 100644
---
a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts
+++
b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/timing/use-table.ts
@@ -89,13 +89,13 @@ export function useTable() {
{
title: t('project.workflow.start_time'),
key: 'startTime',
- ...COLUMN_WIDTH_CONFIG['time'],
+ ...COLUMN_WIDTH_CONFIG['timeZone'],
render: (row: any) => renderTime(row.startTime, row.timezoneId)
},
{
title: t('project.workflow.end_time'),
key: 'endTime',
- ...COLUMN_WIDTH_CONFIG['time'],
+ ...COLUMN_WIDTH_CONFIG['timeZone'],
render: (row: any) => renderTime(row.endTime, row.timezoneId)
},
{