mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
filter null folders
This commit is contained in:
parent
129c456f78
commit
2ce77b943e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue