aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/settings/RecipesScreen.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/settings/RecipesScreen.tsx')
-rw-r--r--src/containers/settings/RecipesScreen.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/containers/settings/RecipesScreen.tsx b/src/containers/settings/RecipesScreen.tsx
index abbb79b39..1fb2673a8 100644
--- a/src/containers/settings/RecipesScreen.tsx
+++ b/src/containers/settings/RecipesScreen.tsx
@@ -129,8 +129,9 @@ class RecipesScreen extends Component<IProps, IState> {
129 129
130 const { needle } = this.state; 130 const { needle } = this.state;
131 const allRecipes = 131 const allRecipes =
132 needle !== null 132 needle === null
133 ? this.prepareRecipes([ 133 ? recipeFilter
134 : this.prepareRecipes([
134 // All search recipes from server 135 // All search recipes from server
135 ...recipePreviews.searchResults, 136 ...recipePreviews.searchResults,
136 // All search recipes from local recipes 137 // All search recipes from local recipes
@@ -143,8 +144,7 @@ class RecipesScreen extends Component<IProps, IState> {
143 ), 144 ),
144 ), 145 ),
145 ), 146 ),
146 ]).sort(this._sortByName) 147 ]).sort(this._sortByName);
147 : recipeFilter;
148 148
149 const customWebsiteRecipe = recipePreviews.all.find( 149 const customWebsiteRecipe = recipePreviews.all.find(
150 service => service.id === CUSTOM_WEBSITE_RECIPE_ID, 150 service => service.id === CUSTOM_WEBSITE_RECIPE_ID,