mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-10 17:00:11 +01:00
filter null folders
This commit is contained in:
parent
129c456f78
commit
2ce77b943e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user