From 367dfffd453da71e28aa08b15be0211c2cff7198 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Mon, 28 Jul 2025 16:18:46 +0000 Subject: [PATCH] enable text-only yield in print view --- frontend/components/Domain/Recipe/RecipePrintView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/Domain/Recipe/RecipePrintView.vue b/frontend/components/Domain/Recipe/RecipePrintView.vue index c9e0ee9ac..1c8a261fb 100644 --- a/frontend/components/Domain/Recipe/RecipePrintView.vue +++ b/frontend/components/Domain/Recipe/RecipePrintView.vue @@ -222,7 +222,7 @@ export default defineNuxtComponent({ const servingsDisplay = computed(() => { const { scaledAmountDisplay } = useScaledAmount(props.recipe.recipeYieldQuantity, props.scale); - return scaledAmountDisplay + return scaledAmountDisplay || props.recipe.recipeYield ? i18n.t("recipe.yields-amount-with-text", { amount: scaledAmountDisplay, text: props.recipe.recipeYield,