aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-18 12:52:40 +0700
committerLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-18 12:52:40 +0700
commit1a6017c81d3a8fc385b0f637ce5a7417ee768e9a (patch)
treee92b2b55f4c54793b892064c8fc92a649ff12f8e /src
parentFix wrong name for toggleKeepAllWorkspacesLoadedSetting (diff)
downloadferdium-app-1a6017c81d3a8fc385b0f637ce5a7417ee768e9a.tar.gz
ferdium-app-1a6017c81d3a8fc385b0f637ce5a7417ee768e9a.tar.zst
ferdium-app-1a6017c81d3a8fc385b0f637ce5a7417ee768e9a.zip
Disable announcement feature
Diffstat (limited to 'src')
-rw-r--r--src/config.js2
-rw-r--r--src/features/announcements/index.js7
2 files changed, 4 insertions, 5 deletions
diff --git a/src/config.js b/src/config.js
index ae07ab0de..0673e994a 100644
--- a/src/config.js
+++ b/src/config.js
@@ -89,7 +89,7 @@ export const DEFAULT_FEATURES_CONFIG = {
89 }, 89 },
90 isServiceProxyEnabled: false, 90 isServiceProxyEnabled: false,
91 isServiceProxyIncludedInCurrentPlan: true, 91 isServiceProxyIncludedInCurrentPlan: true,
92 isAnnouncementsEnabled: true, 92 isAnnouncementsEnabled: false,
93 isWorkspaceIncludedInCurrentPlan: true, 93 isWorkspaceIncludedInCurrentPlan: true,
94 isWorkspaceEnabled: false, 94 isWorkspaceEnabled: false,
95 isCommunityRecipesIncludedInCurrentPlan: true, 95 isCommunityRecipesIncludedInCurrentPlan: true,
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
14export default function initAnnouncements(stores, actions) { 14export 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) {