diff options
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index c5822968a..cdb2db142 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -214,6 +214,14 @@ export default class ServicesStore extends Store { | |||
214 | await request._promise; | 214 | await request._promise; |
215 | this.actionStatus = request.result.status; | 215 | this.actionStatus = request.result.status; |
216 | 216 | ||
217 | if (service.isEnabled) { | ||
218 | this._sendIPCMessage({ | ||
219 | serviceId, | ||
220 | channel: 'service-settings-update', | ||
221 | args: newData, | ||
222 | }); | ||
223 | } | ||
224 | |||
217 | if (redirect) { | 225 | if (redirect) { |
218 | this.stores.router.push('/settings/services'); | 226 | this.stores.router.push('/settings/services'); |
219 | gaEvent('Service', 'update', service.recipe.id); | 227 | gaEvent('Service', 'update', service.recipe.id); |