filter fields at index time

This commit is contained in:
Daniel Bauer
2024-12-16 12:25:15 +01:00
parent 198709d909
commit 81e22a01e3
2 changed files with 21 additions and 15 deletions

View File

@@ -33,6 +33,7 @@ export class SettingsTab extends PluginSettingTab {
.map((val) => val.trim())
.filter((val) => val.length > 0);
await this.plugin.saveSettings();
this.plugin.suggester?.buildNewIndex();
});
});
}