diff options
author | Dominik Guzei <dominik.guzei@gmail.com> | 2019-05-08 17:02:09 +0200 |
---|---|---|
committer | Dominik Guzei <dominik.guzei@gmail.com> | 2019-05-08 17:02:09 +0200 |
commit | 1e38ec5e524c71ae89cd7d4956736494b8c13886 (patch) | |
tree | 73be43066ff504af701e1c201b209db09abdb302 /src/stores | |
parent | fix debug message for announcement semver logic (diff) | |
download | ferdium-app-1e38ec5e524c71ae89cd7d4956736494b8c13886.tar.gz ferdium-app-1e38ec5e524c71ae89cd7d4956736494b8c13886.tar.zst ferdium-app-1e38ec5e524c71ae89cd7d4956736494b8c13886.zip |
fix(Announcements): Fixes issue with rendering announcments in workspaces
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 13f929c2f..17150a023 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -291,7 +291,8 @@ export default class ServicesStore extends Store { | |||
291 | gaEvent('Service', 'clear cache'); | 291 | gaEvent('Service', 'clear cache'); |
292 | } | 292 | } |
293 | 293 | ||
294 | @action _setActive({ serviceId }) { | 294 | @action _setActive({ serviceId, keepActiveRoute }) { |
295 | if (!keepActiveRoute) this.stores.router.push('/'); | ||
295 | const service = this.one(serviceId); | 296 | const service = this.one(serviceId); |
296 | 297 | ||
297 | this.all.forEach((s, index) => { | 298 | this.all.forEach((s, index) => { |