Update version to 1.0.1

This commit is contained in:
Jiaxin Peng
2023-11-16 13:55:14 +00:00
parent 96126d1334
commit 4433ea449d
7 changed files with 47 additions and 2 deletions

View File

@@ -102,6 +102,13 @@ export class ObsidianSettingTab extends PluginSettingTab {
this.plugin.settings.GeneralButton = value;
this.updateSettingEl(CustomTitleEl, value)
// name should follow the result of the title button
if (value) {
this.updateSettingEl(CustomNameEl, this.plugin.settings.CustomTitleButton)
} else {
this.updateSettingEl(CustomNameEl, value)
}
this.updateSettingEl(notionAPIGeneralEl, value)
this.updateSettingEl(databaseIDGeneralEl, value)