mirror of
https://github.com/mara-li/obsidian-simple-colored-folder.git
synced 2026-07-22 05:46:20 +00:00
fix: update settings loading method to use loaded data
This commit is contained in:
parent
60991b8e46
commit
53f43ad3f3
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ export default class SimpleColoredFolder extends Plugin {
|
|||
console.warn(
|
||||
"[Simple colored folder] Error while deep merging settings, using default loading method"
|
||||
);
|
||||
this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());
|
||||
this.settings = Object.assign({}, DEFAULT_SETTINGS, loadedData);
|
||||
}
|
||||
}
|
||||
async saveSettings() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue