mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Hide detached folders
This commit is contained in:
parent
12c03793ed
commit
df3b30a422
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ export async function renderExcludeFolders(settingsTab: SettingsTab) {
|
|||
});
|
||||
});
|
||||
|
||||
settingsTab.plugin.settings.excludeFolders.sort((a, b) => a.position - b.position).forEach((excludedFolder) => {
|
||||
settingsTab.plugin.settings.excludeFolders.filter((folder) => !folder.hideInSettings).sort((a, b) => a.position - b.position).forEach((excludedFolder) => {
|
||||
if (excludedFolder.string?.trim() !== '' && excludedFolder.path?.trim() === '') {
|
||||
addExcludePatternListItem(settingsTab, containerEl, excludedFolder);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue