From bc6f2cdba64c21ae18694f2438f7ad1b485c7013 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Mon, 28 Jul 2025 16:07:27 +0000 Subject: [PATCH] change prop name to be more readable --- .../Recipe/RecipePage/RecipePageParts/RecipePageInfoCard.vue | 2 +- frontend/components/Domain/Recipe/RecipeYield.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageInfoCard.vue b/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageInfoCard.vue index 962b2c6fa..54e39e86e 100644 --- a/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageInfoCard.vue +++ b/frontend/components/Domain/Recipe/RecipePage/RecipePageParts/RecipePageInfoCard.vue @@ -35,7 +35,7 @@ > diff --git a/frontend/components/Domain/Recipe/RecipeYield.vue b/frontend/components/Domain/Recipe/RecipeYield.vue index 0ba676a3a..48738b7ae 100644 --- a/frontend/components/Domain/Recipe/RecipeYield.vue +++ b/frontend/components/Domain/Recipe/RecipeYield.vue @@ -34,7 +34,7 @@ export default defineNuxtComponent({ type: Number, default: 0, }, - yield: { + yieldText: { type: String, default: "", }, @@ -59,7 +59,7 @@ export default defineNuxtComponent({ const { scaledAmountDisplay } = useScaledAmount(props.yieldQuantity, props.scale); return scaledAmountDisplay; }); - const text = sanitizeHTML(props.yield); + const text = sanitizeHTML(props.yieldText); return { scaledAmount,