|
|
@ -509,7 +509,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` |
|
|
|
<label class="${icon}"> |
|
|
|
<label class="${icon} ${css.newFile}"> |
|
|
|
<input type="file" onchange=${(event) => { |
|
|
|
<input type="file" onchange=${(event) => { |
|
|
|
this.uploadFile(event) |
|
|
|
this.uploadFile(event) |
|
|
|
}} multiple /> |
|
|
|
}} multiple /> |
|
|
|