diff options
author | 2017-10-30 10:38:34 +0100 | |
---|---|---|
committer | 2017-10-30 10:38:34 +0100 | |
commit | 9b54f7bcc10b32e59775ce920ab701c7b34edf80 (patch) | |
tree | ae11494034f729280913f5628f4c03389124b01b /src/stores | |
parent | Fix linting issues (diff) | |
parent | Merge pull request #169 from dannyqiu/fix-service-status (diff) | |
download | ferdium-app-9b54f7bcc10b32e59775ce920ab701c7b34edf80.tar.gz ferdium-app-9b54f7bcc10b32e59775ce920ab701c7b34edf80.tar.zst ferdium-app-9b54f7bcc10b32e59775ce920ab701c7b34edf80.zip |
Merge branch 'develop' into feature/menu
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 4510146e0..64e6bb42b 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -41,6 +41,7 @@ export default class ServicesStore extends Store { | |||
41 | this.actions.service.openWindow.listen(this._openWindow.bind(this)); | 41 | this.actions.service.openWindow.listen(this._openWindow.bind(this)); |
42 | this.actions.service.filter.listen(this._filter.bind(this)); | 42 | this.actions.service.filter.listen(this._filter.bind(this)); |
43 | this.actions.service.resetFilter.listen(this._resetFilter.bind(this)); | 43 | this.actions.service.resetFilter.listen(this._resetFilter.bind(this)); |
44 | this.actions.service.resetStatus.listen(this._resetStatus.bind(this)); | ||
44 | this.actions.service.reload.listen(this._reload.bind(this)); | 45 | this.actions.service.reload.listen(this._reload.bind(this)); |
45 | this.actions.service.reloadActive.listen(this._reloadActive.bind(this)); | 46 | this.actions.service.reloadActive.listen(this._reloadActive.bind(this)); |
46 | this.actions.service.reloadAll.listen(this._reloadAll.bind(this)); | 47 | this.actions.service.reloadAll.listen(this._reloadAll.bind(this)); |
@@ -338,6 +339,10 @@ export default class ServicesStore extends Store { | |||
338 | this.filterNeedle = null; | 339 | this.filterNeedle = null; |
339 | } | 340 | } |
340 | 341 | ||
342 | @action _resetStatus() { | ||
343 | this.actionStatus = []; | ||
344 | } | ||
345 | |||
341 | @action _reload({ serviceId }) { | 346 | @action _reload({ serviceId }) { |
342 | const service = this.one(serviceId); | 347 | const service = this.one(serviceId); |
343 | service.resetMessageCount(); | 348 | service.resetMessageCount(); |