mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
enable text-only yield in print view
This commit is contained in:
parent
a074cff779
commit
367dfffd45
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ export default defineNuxtComponent({
|
||||||
|
|
||||||
const servingsDisplay = computed(() => {
|
const servingsDisplay = computed(() => {
|
||||||
const { scaledAmountDisplay } = useScaledAmount(props.recipe.recipeYieldQuantity, props.scale);
|
const { scaledAmountDisplay } = useScaledAmount(props.recipe.recipeYieldQuantity, props.scale);
|
||||||
return scaledAmountDisplay
|
return scaledAmountDisplay || props.recipe.recipeYield
|
||||||
? i18n.t("recipe.yields-amount-with-text", {
|
? i18n.t("recipe.yields-amount-with-text", {
|
||||||
amount: scaledAmountDisplay,
|
amount: scaledAmountDisplay,
|
||||||
text: props.recipe.recipeYield,
|
text: props.recipe.recipeYield,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue