Added Mobile Rendering to EntityShow
This commit is contained in:
@@ -15,6 +15,10 @@ const props = defineProps({
|
||||
topLevelType: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
platform: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -36,7 +40,10 @@ setup()
|
||||
</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>Dateien</span>
|
||||
</template>
|
||||
<Toolbar>
|
||||
<DocumentUpload
|
||||
:type="props.type.substring(0,props.type.length-1)"
|
||||
|
||||
Reference in New Issue
Block a user