diff options
author | 2020-10-04 17:22:15 +0200 | |
---|---|---|
committer | 2020-10-04 16:22:15 +0100 | |
commit | 31d606c9f81bbfb094cd7bf95ae7c89930047fd6 (patch) | |
tree | fe005d771826d684b04be9b646dda4abff637434 /src/containers/settings/RecipesScreen.js | |
parent | Add setting to enable nightly releases updates (#742) (diff) | |
download | ferdium-app-31d606c9f81bbfb094cd7bf95ae7c89930047fd6.tar.gz ferdium-app-31d606c9f81bbfb094cd7bf95ae7c89930047fd6.tar.zst ferdium-app-31d606c9f81bbfb094cd7bf95ae7c89930047fd6.zip |
Add custom website information to recipe dashboard (#995)
Diffstat (limited to 'src/containers/settings/RecipesScreen.js')
-rw-r--r-- | src/containers/settings/RecipesScreen.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/containers/settings/RecipesScreen.js b/src/containers/settings/RecipesScreen.js index 60071b402..40e32ff37 100644 --- a/src/containers/settings/RecipesScreen.js +++ b/src/containers/settings/RecipesScreen.js | |||
@@ -139,6 +139,8 @@ export default @inject('stores', 'actions') @observer class RecipesScreen extend | |||
139 | ), | 139 | ), |
140 | ]) : recipeFilter; | 140 | ]) : recipeFilter; |
141 | 141 | ||
142 | const customWebsiteRecipe = recipePreviews.all.find(service => service.id === 'franz-custom-website'); | ||
143 | |||
142 | const isLoading = recipePreviews.featuredRecipePreviewsRequest.isExecuting | 144 | const isLoading = recipePreviews.featuredRecipePreviewsRequest.isExecuting |
143 | || recipePreviews.allRecipePreviewsRequest.isExecuting | 145 | || recipePreviews.allRecipePreviewsRequest.isExecuting |
144 | || recipes.installRecipeRequest.isExecuting | 146 | || recipes.installRecipeRequest.isExecuting |
@@ -150,6 +152,7 @@ export default @inject('stores', 'actions') @observer class RecipesScreen extend | |||
150 | <ErrorBoundary> | 152 | <ErrorBoundary> |
151 | <RecipesDashboard | 153 | <RecipesDashboard |
152 | recipes={allRecipes} | 154 | recipes={allRecipes} |
155 | customWebsiteRecipe={customWebsiteRecipe} | ||
153 | isLoading={isLoading} | 156 | isLoading={isLoading} |
154 | addedServiceCount={services.all.length} | 157 | addedServiceCount={services.all.length} |
155 | isPremium={user.data.isPremium} | 158 | isPremium={user.data.isPremium} |