mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-05 06:08:46 -05:00
shopping list null entry
This commit is contained in:
@@ -519,7 +519,7 @@
|
|||||||
if (entry.food.id === item.food.id) {
|
if (entry.food.id === item.food.id) {
|
||||||
if (entry.unit === null && item.unit === null) {
|
if (entry.unit === null && item.unit === null) {
|
||||||
return true
|
return true
|
||||||
} else if (entry.unit.id === item.unit.id) {
|
} else if (entry.unit !== null && item.unit !== null && entry.unit.id === item.unit.id) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user