(settings: TaskNotesSettings)
| 1107 | } |
| 1108 | |
| 1109 | updateConfig(settings: TaskNotesSettings): void { |
| 1110 | // Update settings |
| 1111 | this.settings = settings; |
| 1112 | this.taskTag = settings.taskTag; |
| 1113 | this.excludedFolders = parseExcludedFolders(settings.excludedFolders); |
| 1114 | this.disableNoteIndexing = settings.disableNoteIndexing; |
| 1115 | this.storeTitleInFilename = settings.storeTitleInFilename; |
| 1116 | this.clearFilterIndexes(); |
| 1117 | this.filterIndexesBuilt = false; |
| 1118 | this.pruneExcludedPendingTaskInfo(); |
| 1119 | |
| 1120 | // Emit config changed event |
| 1121 | this.trigger("data-changed"); |
| 1122 | } |
| 1123 | |
| 1124 | private pruneExcludedPendingTaskInfo(): void { |
| 1125 | for (const path of this.pendingTaskInfoByPath.keys()) { |
no test coverage detected