Skip to content

Commit

Permalink
Fix setting active service not updating cached value in the store
Browse files Browse the repository at this point in the history
  • Loading branch information
jescobar committed Nov 18, 2017
1 parent 8736c15 commit b1899be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/stores/ServicesStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,10 @@ export default class ServicesStore extends Store {
const service = this.active;

if (service) {
this.stores.settings.updateSettingsRequest.execute({
activeService: service.id,
this.actions.settings.update({
settings: {
activeService: service.id,
},
});
}
}
Expand Down

0 comments on commit b1899be

Please sign in to comment.