steps overview in recipe view

This commit is contained in:
vabene1111
2024-02-24 12:16:24 +01:00
parent 1b8d501208
commit f58d9e49d8
118 changed files with 139 additions and 23419 deletions

View File

@@ -0,0 +1,32 @@
<template>
<v-table density="compact" v-if="ingredients.length > 0">
<tbody>
<IngredientsTableRow v-for="i in ingredients" :ingredient="i" :key="i.id"></IngredientsTableRow>
</tbody>
</v-table>
</template>
<script lang="ts">
import {defineComponent, PropType} from 'vue'
import {Ingredient, Step} from "@/openapi";
import IngredientsTableRow from "@/components/display/IngredientsTableRow.vue";
export default defineComponent({
name: "IngredientsTable",
components: {IngredientsTableRow},
props: {
ingredients: {
type: [] as PropType<Array<Ingredient>>,
default: [],
},
},
mounted() {
}
})
</script>
<style scoped>
</style>