aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/settings/RecipesScreen.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-04 13:37:07 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-07-04 15:00:06 +0530
commit435d44afff742a1fdea3ad3c4511cf80892635b1 (patch)
tree11da34f39e090a337d7a840377e812c06ba45719 /src/containers/settings/RecipesScreen.js
parentFixed eslint warning (diff)
downloadferdium-app-435d44afff742a1fdea3ad3c4511cf80892635b1.tar.gz
ferdium-app-435d44afff742a1fdea3ad3c4511cf80892635b1.tar.zst
ferdium-app-435d44afff742a1fdea3ad3c4511cf80892635b1.zip
Fixed issue with not being able to add new service.
Diffstat (limited to 'src/containers/settings/RecipesScreen.js')
-rw-r--r--src/containers/settings/RecipesScreen.js5
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
15import RecipesDashboard from '../../components/settings/recipes/RecipesDashboard'; 15import RecipesDashboard from '../../components/settings/recipes/RecipesDashboard';
16import ErrorBoundary from '../../components/util/ErrorBoundary'; 16import ErrorBoundary from '../../components/util/ErrorBoundary';
17import { FRANZ_DEV_DOCS } from '../../config'; 17import { CUSTOM_WEBSITE_RECIPE_ID, FRANZ_DEV_DOCS } from '../../config';
18import { RECIPES_PATH } from '../../environment'; 18import { RECIPES_PATH } from '../../environment';
19import { communityRecipesStore } from '../../features/communityRecipes'; 19import { communityRecipesStore } from '../../features/communityRecipes';
20import RecipePreview from '../../models/RecipePreview'; 20import RecipePreview from '../../models/RecipePreview';
21import AppStore from '../../stores/AppStore'; 21import AppStore from '../../stores/AppStore';
22import CUSTOM_WEBSITE_ID from '../../features/webControls/constants';
23 22
24export default @inject('stores', 'actions') @observer class RecipesScreen extends Component { 23export 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