Skip to content

Commit

Permalink
fixed loading settings
Browse files Browse the repository at this point in the history
  • Loading branch information
christianblos committed Feb 16, 2018
1 parent bd3e78b commit a85d390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/stores/settingsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class SettingsStore {
@action
private reloadSettings() {
this.settings = new Settings(
electronSettings.get('inlineForms'),
electronSettings.get('inlineForms') || false,
);
}

Expand All @@ -46,7 +46,7 @@ export class SettingsStore {
}

get collapsedDirs(): string[] {
return electronSettings.get('collapsedDirs');
return electronSettings.get('collapsedDirs') || [];
}
}

Expand Down

0 comments on commit a85d390

Please sign in to comment.