diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-06-17 16:52:46 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-06-17 16:52:46 +0200 |
commit | 2887eee3935e75640fc45111a904e78496dab62e (patch) | |
tree | 5ecd66727b8056f62771e20bb42fca9cfde1745c /src/components/settings/recipes | |
parent | Merge branch 'feature/3rd-party-limit' into feature/new-pricing (diff) | |
download | ferdium-app-2887eee3935e75640fc45111a904e78496dab62e.tar.gz ferdium-app-2887eee3935e75640fc45111a904e78496dab62e.tar.zst ferdium-app-2887eee3935e75640fc45111a904e78496dab62e.zip |
Rename feature flags
Diffstat (limited to 'src/components/settings/recipes')
-rw-r--r-- | src/components/settings/recipes/RecipesDashboard.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/settings/recipes/RecipesDashboard.js b/src/components/settings/recipes/RecipesDashboard.js index ed4a429db..75e60b7ec 100644 --- a/src/components/settings/recipes/RecipesDashboard.js +++ b/src/components/settings/recipes/RecipesDashboard.js | |||
@@ -118,7 +118,7 @@ export default @injectSheet(styles) @observer class RecipesDashboard extends Com | |||
118 | openRecipeDirectory: PropTypes.func.isRequired, | 118 | openRecipeDirectory: PropTypes.func.isRequired, |
119 | openDevDocs: PropTypes.func.isRequired, | 119 | openDevDocs: PropTypes.func.isRequired, |
120 | classes: PropTypes.object.isRequired, | 120 | classes: PropTypes.object.isRequired, |
121 | isCommunityRecipesPremiumFeature: PropTypes.bool.isRequired, | 121 | isCommunityRecipesIncludedInCurrentPlan: PropTypes.bool.isRequired, |
122 | }; | 122 | }; |
123 | 123 | ||
124 | static defaultProps = { | 124 | static defaultProps = { |
@@ -145,7 +145,7 @@ export default @injectSheet(styles) @observer class RecipesDashboard extends Com | |||
145 | openRecipeDirectory, | 145 | openRecipeDirectory, |
146 | openDevDocs, | 146 | openDevDocs, |
147 | classes, | 147 | classes, |
148 | isCommunityRecipesPremiumFeature, | 148 | isCommunityRecipesIncludedInCurrentPlan, |
149 | } = this.props; | 149 | } = this.props; |
150 | const { intl } = this.context; | 150 | const { intl } = this.context; |
151 | 151 | ||
@@ -218,7 +218,7 @@ export default @injectSheet(styles) @observer class RecipesDashboard extends Com | |||
218 | <> | 218 | <> |
219 | <H2> | 219 | <H2> |
220 | {intl.formatMessage(messages.headlineCustomRecipes)} | 220 | {intl.formatMessage(messages.headlineCustomRecipes)} |
221 | {isCommunityRecipesPremiumFeature && ( | 221 | {isCommunityRecipesIncludedInCurrentPlan && ( |
222 | <ProBadge className={classes.proBadge} /> | 222 | <ProBadge className={classes.proBadge} /> |
223 | )} | 223 | )} |
224 | </H2> | 224 | </H2> |
@@ -247,7 +247,7 @@ export default @injectSheet(styles) @observer class RecipesDashboard extends Com | |||
247 | </> | 247 | </> |
248 | )} | 248 | )} |
249 | <PremiumFeatureContainer | 249 | <PremiumFeatureContainer |
250 | condition={(recipeFilter === 'dev' && communityRecipes.length > 0) && isCommunityRecipesPremiumFeature} | 250 | condition={(recipeFilter === 'dev' && communityRecipes.length > 0) && isCommunityRecipesIncludedInCurrentPlan} |
251 | > | 251 | > |
252 | {recipeFilter === 'dev' && communityRecipes.length > 0 && ( | 252 | {recipeFilter === 'dev' && communityRecipes.length > 0 && ( |
253 | <H3>{intl.formatMessage(messages.headlineCommunityRecipes)}</H3> | 253 | <H3>{intl.formatMessage(messages.headlineCommunityRecipes)}</H3> |