Fixed issue of importing configurations.

This commit is contained in:
vorotamoroz
2022-09-04 01:16:29 +09:00
parent 73ac93e8c5
commit c9daa1b47d
5 changed files with 6 additions and 4 deletions

View File

@@ -402,6 +402,7 @@ export default class ObsidianLiveSyncPlugin extends Plugin {
}
}
let initDB;
this.settings = newSettingW;
await this.saveSettings();
if (keepLocalDB == "no") {
this.resetLocalOldDatabase();