Skip to content

Commit

Permalink
download action as icon
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Apr 24, 2024
1 parent e736905 commit 9436c2f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,8 @@ export function useModelActions({
defaultMessage: 'Download',
}),
'data-test-subj': 'mlModelsTableRowDownloadModelAction',
// @ts-ignore EUI has a type check issue when type "button" is combined with an icon.
icon: 'download',
type: 'button',
type: 'icon',
isPrimary: true,
available: (item) =>
canCreateTrainedModels &&
Expand Down

0 comments on commit 9436c2f

Please sign in to comment.