fix after rebase
This commit is contained in:
@ -826,7 +826,7 @@ export default {
|
|||||||
this.facets = result.data.facets
|
this.facets = result.data.facets
|
||||||
this.recipes = [...this.removeDuplicates(result.data.results, (recipe) => recipe.id)]
|
this.recipes = [...this.removeDuplicates(result.data.results, (recipe) => recipe.id)]
|
||||||
if (!this.searchFiltered()) {
|
if (!this.searchFiltered()) {
|
||||||
// if meal plans are being shown - filter out any meal plan recipes from the recipe list
|
// if meal plans are being shown (and only when search is unfiltered) - filter out any meal plan recipes from the recipe list
|
||||||
let mealPlans = []
|
let mealPlans = []
|
||||||
this.meal_plans.forEach((x) => mealPlans.push(x.recipe.id))
|
this.meal_plans.forEach((x) => mealPlans.push(x.recipe.id))
|
||||||
this.recipes = this.recipes.filter((recipe) => !mealPlans.includes(recipe.id))
|
this.recipes = this.recipes.filter((recipe) => !mealPlans.includes(recipe.id))
|
||||||
|
@ -296,7 +296,7 @@
|
|||||||
"Foods": "Foods",
|
"Foods": "Foods",
|
||||||
"review_shopping": "Review shopping entries before saving",
|
"review_shopping": "Review shopping entries before saving",
|
||||||
"view_recipe": "View Recipe",
|
"view_recipe": "View Recipe",
|
||||||
"enable_expert": "Enable Export Mode",
|
"enable_expert": "Enable Expert Mode",
|
||||||
"expert_mode": "Expert Mode",
|
"expert_mode": "Expert Mode",
|
||||||
"simple_mode": "Simple Mode",
|
"simple_mode": "Simple Mode",
|
||||||
"advanced": "Advanced",
|
"advanced": "Advanced",
|
||||||
|
Reference in New Issue
Block a user