1
0
mirror of https://github.com/TandoorRecipes/recipes.git synced 2026-01-11 17:16:59 -05:00

improved ingredient table

This commit is contained in:
vabene1111
2025-01-02 09:34:12 +01:00
parent 00ae511076
commit 2841e086df
2 changed files with 29 additions and 24 deletions

View File

@@ -101,7 +101,7 @@ const searchResults = computed(() => {
if (searchResults.length < 3) {
asyncSearchResults.value.slice(0, 5).forEach(r => {
if (searchResults.findIndex(x => x.recipeId == r.id) == -1) {
searchResults.push({name: r.name, image: r.image, recipeId: r.id, icon: 'fa-solid fa-globe'})
searchResults.push({name: r.name, image: r.image, recipeId: r.id})
}
})
}