From 435d44afff742a1fdea3ad3c4511cf80892635b1 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 4 Jul 2021 13:37:07 +0530 Subject: Fixed issue with not being able to add new service. --- src/containers/settings/RecipesScreen.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/containers/settings/RecipesScreen.js') 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'; import RecipesDashboard from '../../components/settings/recipes/RecipesDashboard'; import ErrorBoundary from '../../components/util/ErrorBoundary'; -import { FRANZ_DEV_DOCS } from '../../config'; +import { CUSTOM_WEBSITE_RECIPE_ID, FRANZ_DEV_DOCS } from '../../config'; import { RECIPES_PATH } from '../../environment'; import { communityRecipesStore } from '../../features/communityRecipes'; import RecipePreview from '../../models/RecipePreview'; import AppStore from '../../stores/AppStore'; -import CUSTOM_WEBSITE_ID from '../../features/webControls/constants'; export default @inject('stores', 'actions') @observer class RecipesScreen extends Component { static propTypes = { @@ -140,7 +139,7 @@ export default @inject('stores', 'actions') @observer class RecipesScreen extend ), ]) : recipeFilter; - const customWebsiteRecipe = recipePreviews.all.find(service => service.id === CUSTOM_WEBSITE_ID); + const customWebsiteRecipe = recipePreviews.all.find(service => service.id === CUSTOM_WEBSITE_RECIPE_ID); const isLoading = recipePreviews.featuredRecipePreviewsRequest.isExecuting || recipePreviews.allRecipePreviewsRequest.isExecuting -- cgit v1.2.3-70-g09d2