diff options
Diffstat (limited to 'src/features/communityRecipes')
-rw-r--r-- | src/features/communityRecipes/index.js | 4 | ||||
-rw-r--r-- | src/features/communityRecipes/store.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/features/communityRecipes/index.js b/src/features/communityRecipes/index.js index 78e87855e..4d050f90e 100644 --- a/src/features/communityRecipes/index.js +++ b/src/features/communityRecipes/index.js | |||
@@ -15,11 +15,11 @@ export default function initCommunityRecipes(stores, actions) { | |||
15 | // Toggle communityRecipe premium status | 15 | // Toggle communityRecipe premium status |
16 | reaction( | 16 | reaction( |
17 | () => ( | 17 | () => ( |
18 | features.features.isCommunityRecipesPremiumFeature | 18 | features.features.isCommunityRecipesIncludedInCurrentPlan |
19 | ), | 19 | ), |
20 | (isPremiumFeature) => { | 20 | (isPremiumFeature) => { |
21 | debug('Community recipes is premium feature: ', isPremiumFeature); | 21 | debug('Community recipes is premium feature: ', isPremiumFeature); |
22 | communityRecipesStore.isCommunityRecipesPremiumFeature = isPremiumFeature; | 22 | communityRecipesStore.isCommunityRecipesIncludedInCurrentPlan = isPremiumFeature; |
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 165b753e8..4d45c3b33 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')('Franz:feature:communityRecipes:store'); | 4 | const debug = require('debug')('Franz:feature:communityRecipes:store'); |
5 | 5 | ||
6 | export class CommunityRecipesStore extends FeatureStore { | 6 | export class CommunityRecipesStore extends FeatureStore { |
7 | @observable isCommunityRecipesPremiumFeature = false; | 7 | @observable isCommunityRecipesIncludedInCurrentPlan = false; |
8 | 8 | ||
9 | start(stores, actions) { | 9 | start(stores, actions) { |
10 | debug('start'); | 10 | debug('start'); |