diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-11-15 12:21:28 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-11-15 12:21:28 +0100 |
commit | 8f5de18c754230540f731dbd12828ad8b850d1f2 (patch) | |
tree | dc5347ea0d5e5265923f058f6607b7b41bf7a0a9 /src/stores/SettingsStore.js | |
parent | Cleanup (diff) | |
download | ferdium-app-8f5de18c754230540f731dbd12828ad8b850d1f2.tar.gz ferdium-app-8f5de18c754230540f731dbd12828ad8b850d1f2.tar.zst ferdium-app-8f5de18c754230540f731dbd12828ad8b850d1f2.zip |
Fix minor issues due to babel upgrade
Diffstat (limited to 'src/stores/SettingsStore.js')
-rw-r--r-- | src/stores/SettingsStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index d8519c609..9270a6481 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -68,7 +68,7 @@ export default class SettingsStore extends Store { | |||
68 | 68 | ||
69 | // Helper | 69 | // Helper |
70 | _migrate() { | 70 | _migrate() { |
71 | const legacySettings = localStorage.getItem('app'); | 71 | const legacySettings = localStorage.getItem('app') || {}; |
72 | 72 | ||
73 | if (!this.all.migration['5.0.0-beta.17-settings']) { | 73 | if (!this.all.migration['5.0.0-beta.17-settings']) { |
74 | this.actions.settings.update({ | 74 | this.actions.settings.update({ |