Merge pull request #2726 from ethereum/Open-File

fixed the issue with open file
pull/1/head
yann300 5 years ago committed by GitHub
commit 1ba477170c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/app/files/file-explorer.js

@ -621,7 +621,7 @@ fileExplorer.prototype.renderMenuItems = function () {
items = this.menuItems.map(({action, title, icon}) => {
if (action === 'uploadFile') {
return yo`
<span
<label
id=${action}
data-id="fileExplorerUploadFile${action}"
class="${icon} ${css.newFile}"
@ -631,7 +631,7 @@ fileExplorer.prototype.renderMenuItems = function () {
event.stopPropagation()
this.uploadFile(event)
}} multiple />
</span>
</label>
`
} else {
return yo`

Loading…
Cancel
Save