fixed no amount unit display

This commit is contained in:
vabene1111
2025-05-14 06:00:40 +02:00
parent 9a7a05e8a9
commit 086272f103

View File

@@ -39,7 +39,7 @@
<td style="width: 1%; text-wrap: nowrap" class="pr-1" v-html="calculateFoodAmount(i.amount, props.ingredientFactor, useUserPreferenceStore().userSettings.useFractions)" v-if="!i.noAmount"></td>
<td style="width: 1%; text-wrap: nowrap" class="pr-1" v-if="i.noAmount"></td>
<td style="width: 1%; text-wrap: nowrap" class="pr-1">
<template v-if="i.unit"> {{ ingredientToUnitString(i, ingredientFactor) }}</template>
<template v-if="i.unit && !i.noAmount"> {{ ingredientToUnitString(i, ingredientFactor) }}</template>
</td>
<td>
<template v-if="i.food">