mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -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
|
<RecipeYield
|
||||||
:yield-quantity="recipe.recipeYieldQuantity"
|
:yield-quantity="recipe.recipeYieldQuantity"
|
||||||
:yield="recipe.recipeYield"
|
:yield-text="recipe.recipeYield"
|
||||||
:scale="recipeScale"
|
:scale="recipeScale"
|
||||||
class="mb-4"
|
class="mb-4"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -34,7 +34,7 @@ export default defineNuxtComponent({
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 0,
|
default: 0,
|
||||||
},
|
},
|
||||||
yield: {
|
yieldText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: "",
|
default: "",
|
||||||
},
|
},
|
||||||
|
@ -59,7 +59,7 @@ export default defineNuxtComponent({
|
||||||
const { scaledAmountDisplay } = useScaledAmount(props.yieldQuantity, props.scale);
|
const { scaledAmountDisplay } = useScaledAmount(props.yieldQuantity, props.scale);
|
||||||
return scaledAmountDisplay;
|
return scaledAmountDisplay;
|
||||||
});
|
});
|
||||||
const text = sanitizeHTML(props.yield);
|
const text = sanitizeHTML(props.yieldText);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
scaledAmount,
|
scaledAmount,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue