Browse Source

[Improvement-13084][UI] Make download log button disabled when host is null (#13090)

Co-authored-by: xiaojingxuan <13700324600@163.com>
xla0 2 years ago
parent
commit
58d21abfa1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts

+ 1 - 0
dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts

@@ -270,6 +270,7 @@ export function useTable() {
                         circle: true,
                         type: 'info',
                         size: 'small',
+                        disabled: !row.host,
                         onClick: () => downloadLog(row.id)
                       },
                       {