From 0954680d0cdcd3a19dc05ae0fc4e10bcfbff828e Mon Sep 17 00:00:00 2001 From: serapath Date: Thu, 14 Dec 2017 03:33:15 +0700 Subject: [PATCH] small refactor of file-explorer --- src/app/files/file-explorer.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/app/files/file-explorer.js b/src/app/files/file-explorer.js index 2a6f938083..0c9b78b041 100755 --- a/src/app/files/file-explorer.js +++ b/src/app/files/file-explorer.js @@ -99,13 +99,13 @@ function fileExplorer (appAPI, files) { })) : undefined } }, - formatSelf: function (key, data) { + formatSelf: function (key, data, li) { var isRoot = data.path.indexOf('/') === -1 return yo`