fix(settings): settings store initialization

This commit is contained in:
4gray committed 2024-12-21 21:35:17 +01:00
1 parent b565636189
commit b70d87faf2
3 files changed
+14 -20

No files matched your search

+1 -2
View File
@@ -178,8 +178,7 @@ export class SettingsComponent implements OnInit {
/**
* Sets saved settings from the indexed db store
*/
async setSettings() {
await this.settingsStore.loadSettings();
setSettings() {
const currentSettings = this.settingsStore.getSettings();
this.settingsForm.patchValue(currentSettings);