1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Open file select dialog from onClick event

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2020-12-03 12:39:50 +02:00
parent 57d6dfa4b0
commit ea8a426b06

View File

@ -515,7 +515,7 @@ export class Extensions extends React.Component {
<Icon <Icon
interactive interactive
material="folder" material="folder"
onMouseDown={prevDefault(this.installFromSelectFileDialog)} onClick={prevDefault(this.installFromSelectFileDialog)}
tooltip={<Trans>Browse</Trans>} tooltip={<Trans>Browse</Trans>}
/> />
} }