aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/SettingsStore.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-12-13 11:18:13 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-12-13 11:19:04 +0100
commitfcbf398c9a5473cd20f6560c7012bb4dc43f90de (patch)
tree40cc7b5f8fae7d291219684cf7762b02c5e42fcb /src/stores/SettingsStore.js
parentalways initialize ContextMenuBuilder but not spellchecker (diff)
downloadferdium-app-fcbf398c9a5473cd20f6560c7012bb4dc43f90de.tar.gz
ferdium-app-fcbf398c9a5473cd20f6560c7012bb4dc43f90de.tar.zst
ferdium-app-fcbf398c9a5473cd20f6560c7012bb4dc43f90de.zip
fix mobx issue with settings model
Diffstat (limited to 'src/stores/SettingsStore.js')
-rw-r--r--src/stores/SettingsStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js
index 33473f16d..da99a720f 100644
--- a/src/stores/SettingsStore.js
+++ b/src/stores/SettingsStore.js
@@ -26,7 +26,7 @@ export default class SettingsStore extends Store {
26 } 26 }
27 27
28 @computed get all() { 28 @computed get all() {
29 return this.allSettingsRequest.result || new SettingsModel(); 29 return new SettingsModel(this.allSettingsRequest.result);
30 } 30 }
31 31
32 @action async _update({ settings }) { 32 @action async _update({ settings }) {