From 58d21abfa166cb8c93ca4ff511f769dd147b2aff Mon Sep 17 00:00:00 2001 From: xla0 <112854056+xla0@users.noreply.github.com> Date: Sat, 10 Dec 2022 12:34:35 +0800 Subject: [PATCH] [Improvement-13084][UI] Make download log button disabled when host is null (#13090) Co-authored-by: xiaojingxuan <13700324600@163.com> --- .../src/views/projects/task/instance/use-table.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts b/dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts index 0d005043b7..e614f6663f 100644 --- a/dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts +++ b/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) }, {