Fast fix. Forgot that convertSize returns array of size and unit.
This commit is contained in:
parent
37511381ec
commit
e7c00b3c8b
2
files.js
2
files.js
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user