aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.js
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-05-22 12:41:05 +0200
committerLibravatar GitHub <noreply@github.com>2019-05-22 12:41:05 +0200
commitfc12c0599c1cd2bbdab2f5bc985567dec0b5daa1 (patch)
tree49892eae1b676856c2cecedfceeba396f63eb581 /src/stores/ServicesStore.js
parentfix debug message for announcement semver logic (diff)
parentremove version limitation for fetching announcements (diff)
downloadferdium-app-fc12c0599c1cd2bbdab2f5bc985567dec0b5daa1.tar.gz
ferdium-app-fc12c0599c1cd2bbdab2f5bc985567dec0b5daa1.tar.zst
ferdium-app-fc12c0599c1cd2bbdab2f5bc985567dec0b5daa1.zip
Merge pull request #1426 from meetfranz/fix/announcement-not-shown-within-workspace
Fix/announcement not shown within workspace
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r--src/stores/ServicesStore.js3
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) => {