Fast fix. Forgot that convertSize returns array of size and unit.

This commit is contained in:
Alexander Andreev 2021-02-12 22:59:02 +04:00
parent 37511381ec
commit e7c00b3c8b
Signed by: Arav
GPG Key ID: 610DF2574456329F
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ async function getDirectoryList(dir_path, base_url) {
dirs.sort(sort_by_name);
files.sort(sort_by_name);
return [dirs.concat(files), dirs.length, files.length, convertSize(total_files_size)];
return [dirs.concat(files), dirs.length, files.length, convertSize(total_files_size).join(' ')];
}
function setRoutes(router) {