mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 20:16:15 -08:00
fix(settings): settings store initialization
This commit is contained in:
1 parent
b565636189
commit
b70d87faf2
3 files changed
+14
-20
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user