Skip to content
Snippets Groups Projects
Commit 3360fa99 authored by echicken's avatar echicken :chicken:
Browse files

Don't show libraries that don't got no directories with files in

them.  I think.  Untested.
parent c06b2ffa
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,11 @@ load('file_size.js'); ...@@ -3,7 +3,11 @@ load('file_size.js');
function listLibraries() { function listLibraries() {
return file_area.lib_list.filter( return file_area.lib_list.filter(
function (library) { return library.dir_list.length > 0; } function (library) {
if (library.dir_list.length < 1) return false;
var dirs = listDirectories(library.index);
return dirs.length > 0;
}
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment