mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 04:39:54 -05:00
fixed no_amount ingredients showing units in ingredient list
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<span v-if="ingredient.amount !== 0">{{ calculateAmount(ingredient.amount) }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span v-if="ingredient.unit !== null">{{ ingredient.unit.name }}</span>
|
||||
<span v-if="ingredient.unit !== null && !ingredient.no_amount">{{ ingredient.unit.name }}</span>
|
||||
</td>
|
||||
<td>
|
||||
<template v-if="ingredient.food !== null">
|
||||
|
||||
Reference in New Issue
Block a user