minor tweaks

This commit is contained in:
vabene1111
2024-12-23 14:49:07 +01:00
parent 65034e523f
commit 5a8b4fb4ce
3 changed files with 7 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
<v-row v-for="(s, i) in props.steps">
<v-col class="pa-1">
<b v-if="s.showAsHeader">{{ i + 1 }}. {{ s.name }} </b>
<IngredientsTable :ingredients="s.ingredients"></IngredientsTable>
<ingredients-table :ingredients="s.ingredients" :ingredient-factor="props.ingredientFactor"></ingredients-table>
</v-col>
</v-row>
</v-container>
@@ -28,6 +28,10 @@ const props = defineProps({
type: Array as PropType<Array<Step>>,
default: [],
},
ingredientFactor: {
type: Number,
required: true,
},
})
</script>