Ajout du nom de la bannière dans les critères de recherche des recettes.
This commit is contained in:
parent
cb35f8e595
commit
75bbbfeac1
|
@ -65,7 +65,8 @@ export class ListComponent extends ErrorHandlingComponent {
|
|||
}
|
||||
|
||||
private recipeMatchesSearchQuery(recipe: Recipe) {
|
||||
const matches = this.searchString(recipe.name) ||
|
||||
const matches = this.searchString(recipe.company.name) ||
|
||||
this.searchString(recipe.name) ||
|
||||
this.searchString(recipe.description) ||
|
||||
(recipe.sample && this.searchString(recipe.sample.toString()))
|
||||
this.hiddenRecipes[recipe.id] = !matches
|
||||
|
|
Loading…
Reference in New Issue