Browse Source

[Fix][UI][V1.0.0-Beta] Set the default value of host to '-' and Disable log button without host data. (#9742)

3.0.0/version-upgrade
Amy0104 3 years ago committed by GitHub
parent
commit
1f9660b80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts

4
dolphinscheduler-ui-next/src/views/projects/task/instance/use-table.ts

@ -155,7 +155,8 @@ export function useTable() {
{
title: t('project.task.host'),
key: 'host',
...COLUMN_WIDTH_CONFIG['name']
...COLUMN_WIDTH_CONFIG['name'],
render: (row: IRecord) => row.host || '-'
},
{
title: t('project.task.operation'),
@ -206,6 +207,7 @@ export function useTable() {
circle: true,
type: 'info',
size: 'small',
disabled: !row.host,
onClick: () => handleLog(row)
},
{

Loading…
Cancel
Save