diff options
author | 2019-09-23 17:15:35 +0200 | |
---|---|---|
committer | 2019-09-23 17:15:35 +0200 | |
commit | d06c47a6ddff7b8ad8e408340533a609c3bcdd69 (patch) | |
tree | fabf2990716acf7e9618f250795d99d28bbf9fbf /src/features | |
parent | Add scheduled Do-not-Disturb feature (diff) | |
download | ferdium-app-d06c47a6ddff7b8ad8e408340533a609c3bcdd69.tar.gz ferdium-app-d06c47a6ddff7b8ad8e408340533a609c3bcdd69.tar.zst ferdium-app-d06c47a6ddff7b8ad8e408340533a609c3bcdd69.zip |
Enable community recipes
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/communityRecipes/index.js | 2 | ||||
-rw-r--r-- | src/features/communityRecipes/store.js | 2 |
2 files changed, 2 insertions, 2 deletions
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'; | |||
4 | const debug = require('debug')('Ferdi:feature:communityRecipes:store'); | 4 | const debug = require('debug')('Ferdi:feature:communityRecipes:store'); |
5 | 5 | ||
6 | export class CommunityRecipesStore extends FeatureStore { | 6 | export 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'); |