aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/announcements
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/announcements')
-rw-r--r--src/features/announcements/store.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js
index de7ed2596..d58afbc8e 100644
--- a/src/features/announcements/store.js
+++ b/src/features/announcements/store.js
@@ -63,6 +63,11 @@ export class AnnouncementsStore extends FeatureStore {
63 return this.stores.settings.stats.appStarts <= 1; 63 return this.stores.settings.stats.appStarts <= 1;
64 } 64 }
65 65
66 @computed get isAnnouncementShown() {
67 const { router } = this.stores;
68 return router.location.pathname.includes('/announcements');
69 }
70
66 async start(stores, actions) { 71 async start(stores, actions) {
67 debug('AnnouncementsStore::start'); 72 debug('AnnouncementsStore::start');
68 this.stores = stores; 73 this.stores = stores;