mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
change prop name to be more readable
This commit is contained in:
parent
fa5bc17ed8
commit
bc6f2cdba6
2 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@
|
|||
>
|
||||
<RecipeYield
|
||||
:yield-quantity="recipe.recipeYieldQuantity"
|
||||
:yield="recipe.recipeYield"
|
||||
:yield-text="recipe.recipeYield"
|
||||
:scale="recipeScale"
|
||||
class="mb-4"
|
||||
/>
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue