diff options
author | jescobar <jose.escobar@mavrix.es> | 2017-11-18 01:49:19 +0100 |
---|---|---|
committer | jescobar <jose.escobar@mavrix.es> | 2017-11-18 01:49:19 +0100 |
commit | b1899be9856e6c42a35214ebfc041eb55b1ff50c (patch) | |
tree | fb1402b07422fb7e1f608c628fc5c816441f5080 | |
parent | Fix typos (diff) | |
download | ferdium-app-b1899be9856e6c42a35214ebfc041eb55b1ff50c.tar.gz ferdium-app-b1899be9856e6c42a35214ebfc041eb55b1ff50c.tar.zst ferdium-app-b1899be9856e6c42a35214ebfc041eb55b1ff50c.zip |
Fix setting active service not updating cached value in the store
-rw-r--r-- | src/stores/ServicesStore.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 87d31c0c5..3936ea036 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -470,8 +470,10 @@ export default class ServicesStore extends Store { | |||
470 | const service = this.active; | 470 | const service = this.active; |
471 | 471 | ||
472 | if (service) { | 472 | if (service) { |
473 | this.stores.settings.updateSettingsRequest.execute({ | 473 | this.actions.settings.update({ |
474 | activeService: service.id, | 474 | settings: { |
475 | activeService: service.id, | ||
476 | }, | ||
475 | }); | 477 | }); |
476 | } | 478 | } |
477 | } | 479 | } |