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