fix: logic for disableAmount in shopping list items (#2518)

This commit is contained in:
Michael Genson 2023-08-22 17:03:24 -05:00 committed by GitHub
parent ae502c5652
commit 5213a61d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>