mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-06-04 06:04:53 -04:00
fix: logic for disableAmount in shopping list items (#2518)
This commit is contained in:
parent
ae502c5652
commit
5213a61d9b
@ -13,7 +13,7 @@
|
|||||||
>
|
>
|
||||||
<template #label>
|
<template #label>
|
||||||
<div :class="listItem.checked ? 'strike-through' : ''">
|
<div :class="listItem.checked ? 'strike-through' : ''">
|
||||||
<RecipeIngredientListItem :ingredient="listItem" :disable-amount="!(listItem.quantity && (listItem.isFood || listItem.quantity !== 1))" />
|
<RecipeIngredientListItem :ingredient="listItem" :disable-amount="!(listItem.isFood || listItem.quantity !== 1)" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</v-checkbox>
|
</v-checkbox>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user