Added Mobile Rendering to EntityShow
This commit is contained in:
@@ -46,6 +46,10 @@ const props = defineProps({
|
||||
topLevelType: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
platform: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -122,7 +126,10 @@ const invoiceDeliveryNotes = () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UCard class="mt-5" style="height: 80vh">
|
||||
<UCard class="mt-5" :style="props.platform !== 'mobile' ? 'height: 80vh' : ''">
|
||||
<template #header v-if="props.platform === 'mobile'">
|
||||
<span>Ausgangsbelege</span>
|
||||
</template>
|
||||
<Toolbar>
|
||||
<UButton
|
||||
@click="invoiceDeliveryNotes"
|
||||
|
||||
Reference in New Issue
Block a user