diff options
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/settings/RecipesScreen.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/containers/settings/RecipesScreen.js b/src/containers/settings/RecipesScreen.js index 117f62ea8..f12f67b1f 100644 --- a/src/containers/settings/RecipesScreen.js +++ b/src/containers/settings/RecipesScreen.js | |||
@@ -14,12 +14,11 @@ import UserStore from '../../stores/UserStore'; | |||
14 | 14 | ||
15 | import RecipesDashboard from '../../components/settings/recipes/RecipesDashboard'; | 15 | import RecipesDashboard from '../../components/settings/recipes/RecipesDashboard'; |
16 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 16 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
17 | import { FRANZ_DEV_DOCS } from '../../config'; | 17 | import { CUSTOM_WEBSITE_RECIPE_ID, FRANZ_DEV_DOCS } from '../../config'; |
18 | import { RECIPES_PATH } from '../../environment'; | 18 | import { RECIPES_PATH } from '../../environment'; |
19 | import { communityRecipesStore } from '../../features/communityRecipes'; | 19 | import { communityRecipesStore } from '../../features/communityRecipes'; |
20 | import RecipePreview from '../../models/RecipePreview'; | 20 | import RecipePreview from '../../models/RecipePreview'; |
21 | import AppStore from '../../stores/AppStore'; | 21 | import AppStore from '../../stores/AppStore'; |
22 | import CUSTOM_WEBSITE_ID from '../../features/webControls/constants'; | ||
23 | 22 | ||
24 | export default @inject('stores', 'actions') @observer class RecipesScreen extends Component { | 23 | export default @inject('stores', 'actions') @observer class RecipesScreen extends Component { |
25 | static propTypes = { | 24 | static propTypes = { |
@@ -140,7 +139,7 @@ export default @inject('stores', 'actions') @observer class RecipesScreen extend | |||
140 | ), | 139 | ), |
141 | ]) : recipeFilter; | 140 | ]) : recipeFilter; |
142 | 141 | ||
143 | const customWebsiteRecipe = recipePreviews.all.find(service => service.id === CUSTOM_WEBSITE_ID); | 142 | const customWebsiteRecipe = recipePreviews.all.find(service => service.id === CUSTOM_WEBSITE_RECIPE_ID); |
144 | 143 | ||
145 | const isLoading = recipePreviews.featuredRecipePreviewsRequest.isExecuting | 144 | const isLoading = recipePreviews.featuredRecipePreviewsRequest.isExecuting |
146 | || recipePreviews.allRecipePreviewsRequest.isExecuting | 145 | || recipePreviews.allRecipePreviewsRequest.isExecuting |