diff options
Diffstat (limited to 'src/features/announcements/index.js')
-rw-r--r-- | src/features/announcements/index.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/features/announcements/index.js b/src/features/announcements/index.js index f14e7c9a5..10f081bb1 100644 --- a/src/features/announcements/index.js +++ b/src/features/announcements/index.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { reaction } from 'mobx'; | 1 | import { reaction } from 'mobx'; |
2 | import { AnnouncementsStore } from './store'; | 2 | import { AnnouncementsStore } from './store'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:feature:announcements'); | 4 | const debug = require('debug')('Ferdi:feature:announcements'); |
5 | 5 | ||
6 | export const GA_CATEGORY_ANNOUNCEMENTS = 'Announcements'; | 6 | export const GA_CATEGORY_ANNOUNCEMENTS = 'Announcements'; |
7 | 7 | ||
@@ -12,13 +12,12 @@ export const ANNOUNCEMENTS_ROUTES = { | |||
12 | }; | 12 | }; |
13 | 13 | ||
14 | export default function initAnnouncements(stores, actions) { | 14 | export default function initAnnouncements(stores, actions) { |
15 | // const { features } = stores; | 15 | const { features } = stores; |
16 | 16 | ||
17 | // Toggle workspace feature | 17 | // Toggle announcement feature |
18 | reaction( | 18 | reaction( |
19 | () => ( | 19 | () => ( |
20 | true | 20 | features.features.isAnnouncementsEnabled |
21 | // features.features.isAnnouncementsEnabled | ||
22 | ), | 21 | ), |
23 | (isEnabled) => { | 22 | (isEnabled) => { |
24 | if (isEnabled) { | 23 | if (isEnabled) { |