diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-03-28 10:05:00 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-03-28 10:05:00 +0200 |
commit | b3cfa16fb079ddbc339316fc09324cb7ebe7abf0 (patch) | |
tree | 8316a02d3289ed6b255baab6782211de58c18584 | |
parent | Add settings migration (diff) | |
download | ferdium-app-b3cfa16fb079ddbc339316fc09324cb7ebe7abf0.tar.gz ferdium-app-b3cfa16fb079ddbc339316fc09324cb7ebe7abf0.tar.zst ferdium-app-b3cfa16fb079ddbc339316fc09324cb7ebe7abf0.zip |
Add beta and locale settings to app config as well
-rw-r--r-- | src/stores/UserStore.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index c151f6d59..574616925 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -263,8 +263,10 @@ export default class UserStore extends Store { | |||
263 | 263 | ||
264 | // We need to set the beta flag for the SettingsStore | 264 | // We need to set the beta flag for the SettingsStore |
265 | this.actions.settings.update({ | 265 | this.actions.settings.update({ |
266 | settings: { | 266 | type: 'app', |
267 | data: { | ||
267 | beta: data.beta, | 268 | beta: data.beta, |
269 | locale: data.locale, | ||
268 | }, | 270 | }, |
269 | }); | 271 | }); |
270 | } | 272 | } |