Skip to content
Snippets Groups Projects
Commit 2ce77b94 authored by timothycarambat's avatar timothycarambat
Browse files

filter null folders

parent 129c456f
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ async function viewLocalFiles() {
directory.items = [
directory.items.find((folder) => folder.name === "custom-documents"),
...directory.items.filter((folder) => folder.name !== "custom-documents"),
];
].filter((i) => !!i);
return directory;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment