diff --git a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue index 7e31edd4..4e7d3590 100644 --- a/vue/src/apps/RecipeSearchView/RecipeSearchView.vue +++ b/vue/src/apps/RecipeSearchView/RecipeSearchView.vue @@ -845,7 +845,7 @@
-
+

{{ $t('search_no_recipes') }}

@@ -918,6 +918,7 @@ export default { return { // this.Models and this.Actions inherited from ApiMixin recipes: [], + recipes_loading: true, facets: {Books: [], Foods: [], Keywords: []}, meal_plans: [], last_viewed_recipes: [], @@ -1200,6 +1201,7 @@ export default { methods: { // this.genericAPI inherited from ApiMixin refreshData: _debounce(function (random) { + this.recipes_loading = true let params = this.buildParams(random) this.genericAPI(this.Models.RECIPE, this.Actions.LIST, params) .then((result) => { @@ -1214,6 +1216,7 @@ export default { this.meal_plans.forEach((x) => mealPlans.push(x.recipe.id)) this.recipes = this.recipes.filter((recipe) => !mealPlans.includes(recipe.id)) } + this.recipes_loading = false }) .then(() => { this.$nextTick(function () {