aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r--src/stores/ServicesStore.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js
index 6120ae023..1bf32af9f 100644
--- a/src/stores/ServicesStore.js
+++ b/src/stores/ServicesStore.js
@@ -75,6 +75,7 @@ export default class ServicesStore extends Store {
75 this.actions.service.toggleAudio.listen(this._toggleAudio.bind(this)); 75 this.actions.service.toggleAudio.listen(this._toggleAudio.bind(this));
76 this.actions.service.openDevTools.listen(this._openDevTools.bind(this)); 76 this.actions.service.openDevTools.listen(this._openDevTools.bind(this));
77 this.actions.service.openDevToolsForActiveService.listen(this._openDevToolsForActiveService.bind(this)); 77 this.actions.service.openDevToolsForActiveService.listen(this._openDevToolsForActiveService.bind(this));
78 this.actions.service.setHibernation.listen(this._setHibernation.bind(this));
78 79
79 this.registerReactions([ 80 this.registerReactions([
80 this._focusServiceReaction.bind(this), 81 this._focusServiceReaction.bind(this),
@@ -648,6 +649,11 @@ export default class ServicesStore extends Store {
648 } 649 }
649 } 650 }
650 651
652 @action _setHibernation({ serviceId, hibernating }) {
653 const service = this.one(serviceId);
654 service.isHibernating = hibernating;
655 }
656
651 // Reactions 657 // Reactions
652 _focusServiceReaction() { 658 _focusServiceReaction() {
653 const service = this.active; 659 const service = this.active;