diff --git a/main.ts b/main.ts index eb660ce..eeb3dda 100644 --- a/main.ts +++ b/main.ts @@ -58,7 +58,7 @@ export default class MyPlugin extends Plugin { } async loadSettings() { - this.settings = Object.assign(DEFAULT_SETTINGS, await this.loadData()); + this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData()); } async saveSettings() {