mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-05-24 01:12:54 -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>
|
||||
<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>
|
||||
</template>
|
||||
</v-checkbox>
|
||||
|
Loading…
x
Reference in New Issue
Block a user