aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2019-09-23 17:15:35 +0200
committerLibravatar vantezzen <hello@vantezzen.io>2019-09-23 17:15:35 +0200
commitd06c47a6ddff7b8ad8e408340533a609c3bcdd69 (patch)
treefabf2990716acf7e9618f250795d99d28bbf9fbf
parentAdd scheduled Do-not-Disturb feature (diff)
downloadferdium-app-d06c47a6ddff7b8ad8e408340533a609c3bcdd69.tar.gz
ferdium-app-d06c47a6ddff7b8ad8e408340533a609c3bcdd69.tar.zst
ferdium-app-d06c47a6ddff7b8ad8e408340533a609c3bcdd69.zip
Enable community recipes
-rw-r--r--src/config.js1
-rw-r--r--src/features/communityRecipes/index.js2
-rw-r--r--src/features/communityRecipes/store.js2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/config.js b/src/config.js
index 96c054cca..7de6b3e46 100644
--- a/src/config.js
+++ b/src/config.js
@@ -76,6 +76,7 @@ export const DEFAULT_FEATURES_CONFIG = {
76 isAnnouncementsEnabled: true, 76 isAnnouncementsEnabled: true,
77 isWorkspaceIncludedInCurrentPlan: true, 77 isWorkspaceIncludedInCurrentPlan: true,
78 isWorkspaceEnabled: false, 78 isWorkspaceEnabled: false,
79 isCommunityRecipesIncludedInCurrentPlan: true,
79}; 80};
80 81
81export const DEFAULT_WINDOW_OPTIONS = { 82export const DEFAULT_WINDOW_OPTIONS = {
diff --git a/src/features/communityRecipes/index.js b/src/features/communityRecipes/index.js
index 608164b68..553b423f3 100644
--- a/src/features/communityRecipes/index.js
+++ b/src/features/communityRecipes/index.js
@@ -19,7 +19,7 @@ export default function initCommunityRecipes(stores, actions) {
19 ), 19 ),
20 (isPremiumFeature) => { 20 (isPremiumFeature) => {
21 debug('Community recipes is premium feature: ', isPremiumFeature); 21 debug('Community recipes is premium feature: ', isPremiumFeature);
22 communityRecipesStore.isCommunityRecipesIncludedInCurrentPlan = isPremiumFeature; 22 communityRecipesStore.isCommunityRecipesIncludedInCurrentPlan = true;
23 }, 23 },
24 { 24 {
25 fireImmediately: true, 25 fireImmediately: true,
diff --git a/src/features/communityRecipes/store.js b/src/features/communityRecipes/store.js
index 6f78999a0..3a60e5449 100644
--- a/src/features/communityRecipes/store.js
+++ b/src/features/communityRecipes/store.js
@@ -4,7 +4,7 @@ import { FeatureStore } from '../utils/FeatureStore';
4const debug = require('debug')('Ferdi:feature:communityRecipes:store'); 4const debug = require('debug')('Ferdi:feature:communityRecipes:store');
5 5
6export class CommunityRecipesStore extends FeatureStore { 6export class CommunityRecipesStore extends FeatureStore {
7 @observable isCommunityRecipesIncludedInCurrentPlan = false; 7 @observable isCommunityRecipesIncludedInCurrentPlan = true;
8 8
9 start(stores, actions) { 9 start(stores, actions) {
10 debug('start'); 10 debug('start');