From bbb29e8fe8fd2c85dadd9e3cf14f0d27de32dd83 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Fri, 3 Apr 2020 13:05:37 +0200 Subject: [PATCH] fixed the style of Upload File --- src/app/files/file-explorer.js | 9 +++++++-- src/app/files/fileProvider.js | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index 26ebc4d143..db6f14515b 100644 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -621,12 +621,17 @@ fileExplorer.prototype.renderMenuItems = function () { items = this.menuItems.map(({action, title, icon}) => { if (action === 'uploadFile') { return yo` - + ` } else { return yo` diff --git a/src/app/files/fileProvider.js b/src/app/files/fileProvider.js index a1ae587f0c..f5e03197e2 100644 --- a/src/app/files/fileProvider.js +++ b/src/app/files/fileProvider.js @@ -133,7 +133,7 @@ class FileProvider { return false } - isDirectory(path) { + isDirectory (path) { return window.remixFileSystem.statSync(path).isDirectory() }