diff options
author | Vijay A <avijayr@protonmail.com> | 2021-07-04 13:37:07 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-07-04 15:00:06 +0530 |
commit | 435d44afff742a1fdea3ad3c4511cf80892635b1 (patch) | |
tree | 11da34f39e090a337d7a840377e812c06ba45719 /src/containers/settings | |
parent | Fixed eslint warning (diff) | |
download | ferdium-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')
-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 |