feature(cloudcmd) add ability to open html files using F3

This commit is contained in:
coderaiser 2021-01-16 00:51:26 +02:00
parent cd7bf0fe01
commit 57485b5b4b
4 changed files with 53 additions and 6 deletions

View file

@ -259,7 +259,7 @@ function getSize(file) {
type,
} = file;
if (/^directory$/.test(type))
if (type === 'directory')
return '<dir>';
if (/link/.test(type))