Managing own invoices

This commit is contained in:
2026-02-13 12:38:48 +01:00
parent ab711109a7
commit f468814a2f
15 changed files with 715 additions and 21 deletions

View File

@@ -6,6 +6,11 @@ const props = defineProps({
type: Array,
required: true,
// [{ title: "Titel", component: Component, endpoint: "/wp-json/..." }]
},
subTabIndex: {
type: Number,
required: false,
default: 0
}
})
@@ -54,7 +59,7 @@ async function selectTab(index) {
// ersten Tab automatisch laden
onMounted(() => {
if (props.tabs.length > 0) {
selectTab(0)
selectTab(props.subTabIndex)
}
})
</script>