Unverified Commit 1ba47717 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2726 from ethereum/Open-File

fixed the issue with open file
parents 01569879 fcd7513f
......@@ -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`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment