mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Update commands.ts
This commit is contained in:
parent
7e2211c794
commit
ebaf2eaf9d
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ export class Commands {
|
|||
item.setTitle('Remove folder from excluded folders')
|
||||
.setIcon('x')
|
||||
.onClick(() => {
|
||||
this.plugin.settings.excludeFolders = this.plugin.settings.excludeFolders.filter((folder) => folder.path !== file.path);
|
||||
this.plugin.settings.excludeFolders = this.plugin.settings.excludeFolders.filter(
|
||||
(folder) => folder.path !== file.path);
|
||||
this.plugin.saveSettings();
|
||||
new Notice('Successfully removed folder from excluded folders');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue