From 2887eee3935e75640fc45111a904e78496dab62e Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Mon, 17 Jun 2019 16:52:46 +0200 Subject: Rename feature flags --- src/features/communityRecipes/index.js | 4 ++-- src/features/communityRecipes/store.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/features/communityRecipes') 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) { // Toggle communityRecipe premium status reaction( () => ( - features.features.isCommunityRecipesPremiumFeature + features.features.isCommunityRecipesIncludedInCurrentPlan ), (isPremiumFeature) => { debug('Community recipes is premium feature: ', isPremiumFeature); - communityRecipesStore.isCommunityRecipesPremiumFeature = isPremiumFeature; + communityRecipesStore.isCommunityRecipesIncludedInCurrentPlan = isPremiumFeature; }, { 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'; const debug = require('debug')('Franz:feature:communityRecipes:store'); export class CommunityRecipesStore extends FeatureStore { - @observable isCommunityRecipesPremiumFeature = false; + @observable isCommunityRecipesIncludedInCurrentPlan = false; start(stores, actions) { debug('start'); -- cgit v1.2.3-54-g00ecf