diff --git a/src/FileExplorer.ts b/src/FileExplorer.ts index 22ca255..7dce91e 100644 --- a/src/FileExplorer.ts +++ b/src/FileExplorer.ts @@ -190,7 +190,7 @@ export class FileExplorerOverview { if (folderNote) { pathBlacklist.push(folderNote.path); } let excludedFolder = undefined; if (plugin instanceof FolderNotesPlugin) { - excludedFolder = await getExcludedFolder(plugin, child.path, true); + excludedFolder = getExcludedFolder(plugin, child.path, true); } if (excludedFolder?.excludeFromFolderOverview) { return; } diff --git a/src/FolderOverview.ts b/src/FolderOverview.ts index 25eb3f9..0b9a584 100644 --- a/src/FolderOverview.ts +++ b/src/FolderOverview.ts @@ -258,7 +258,7 @@ export class FolderOverview { let isExcludedFromOverview = false; if (plugin instanceof FolderNotesPlugin) { - isExcludedFromOverview = (await getExcludedFolder(plugin, file.path, true))?.excludeFromFolderOverview ?? false; + isExcludedFromOverview = (getExcludedFolder(plugin, file.path, true))?.excludeFromFolderOverview ?? false; } if ((isBlacklisted && !this.yaml.showFolderNotes) || !isSubfolder || isSourceFile || isExcludedFromOverview) {