aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/communityRecipes
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-06-17 16:52:46 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-06-17 16:52:46 +0200
commit2887eee3935e75640fc45111a904e78496dab62e (patch)
tree5ecd66727b8056f62771e20bb42fca9cfde1745c /src/features/communityRecipes
parentMerge branch 'feature/3rd-party-limit' into feature/new-pricing (diff)
downloadferdium-app-2887eee3935e75640fc45111a904e78496dab62e.tar.gz
ferdium-app-2887eee3935e75640fc45111a904e78496dab62e.tar.zst
ferdium-app-2887eee3935e75640fc45111a904e78496dab62e.zip
Rename feature flags
Diffstat (limited to 'src/features/communityRecipes')
-rw-r--r--src/features/communityRecipes/index.js4
-rw-r--r--src/features/communityRecipes/store.js2
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';
4const debug = require('debug')('Franz:feature:communityRecipes:store'); 4const debug = require('debug')('Franz:feature:communityRecipes:store');
5 5
6export class CommunityRecipesStore extends FeatureStore { 6export 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');