diff options
author | 2019-10-18 10:58:07 +0200 | |
---|---|---|
committer | 2019-10-18 10:58:07 +0200 | |
commit | 0faea6ebfe7d7b69436f073e31c45114dc3f3cbd (patch) | |
tree | 3744511115542d08d16e425657555e2dbe74db85 /src/features/announcements/index.js | |
parent | Implement #129 (diff) | |
parent | Merge pull request #130 from getferdi/l10n_develop (diff) | |
download | ferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.tar.gz ferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.tar.zst ferdium-app-0faea6ebfe7d7b69436f073e31c45114dc3f3cbd.zip |
Merge branch 'develop' of https://github.com/getferdi/ferdi into develop
Diffstat (limited to 'src/features/announcements/index.js')
-rw-r--r-- | src/features/announcements/index.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/features/announcements/index.js b/src/features/announcements/index.js index 42823e74c..10f081bb1 100644 --- a/src/features/announcements/index.js +++ b/src/features/announcements/index.js | |||
@@ -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) { |