aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.js
diff options
context:
space:
mode:
authorLibravatar jescobar <jose.escobar@mavrix.es>2017-11-18 01:49:19 +0100
committerLibravatar jescobar <jose.escobar@mavrix.es>2017-11-18 01:49:19 +0100
commitb1899be9856e6c42a35214ebfc041eb55b1ff50c (patch)
treefb1402b07422fb7e1f608c628fc5c816441f5080 /src/stores/ServicesStore.js
parentFix typos (diff)
downloadferdium-app-b1899be9856e6c42a35214ebfc041eb55b1ff50c.tar.gz
ferdium-app-b1899be9856e6c42a35214ebfc041eb55b1ff50c.tar.zst
ferdium-app-b1899be9856e6c42a35214ebfc041eb55b1ff50c.zip
Fix setting active service not updating cached value in the store
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r--src/stores/ServicesStore.js6
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 }