mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
fix: logic for disableAmount in shopping list items (#2518)
This commit is contained in:
parent
ae502c5652
commit
5213a61d9b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue