updated daily notes section to be in line with core plugin
This commit is contained in:
14
settings.ts
14
settings.ts
@@ -25,16 +25,10 @@ export class TaskWeaverSettingTab extends PluginSettingTab {
|
||||
}));
|
||||
|
||||
if (this.plugin.settings.enableDailyNoteLogging) {
|
||||
new Setting(containerEl)
|
||||
.setName("Daily note path")
|
||||
.setDesc("Path to your daily notes folder (e.g., 'Daily Notes' or leave empty for root)")
|
||||
.addText(text => text
|
||||
.setPlaceholder("Daily Notes")
|
||||
.setValue(this.plugin.settings.dailyNotePath)
|
||||
.onChange(async (value) => {
|
||||
this.plugin.settings.dailyNotePath = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
containerEl.createEl("p", {
|
||||
text: "Tasks will be logged to your daily note using the Daily Notes core plugin settings.",
|
||||
cls: "setting-item-description"
|
||||
});
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Daily note format")
|
||||
|
||||
Reference in New Issue
Block a user