Added Mobile Rendering to EntityShow
This commit is contained in:
@@ -11,6 +11,10 @@ const props = defineProps({
|
||||
topLevelType: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
platform: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -27,7 +31,10 @@ const dataType = dataStore.dataTypes[props.topLevelType]
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UCard class="mt-5 scroll" style="height: 80vh">
|
||||
<UCard class="mt-5 scroll" :style="props.platform !== 'mobile' ? 'height: 80vh' : ''">
|
||||
<template #header v-if="props.platform === 'mobile'">
|
||||
<span>Informationen</span>
|
||||
</template>
|
||||
<UAlert
|
||||
v-if="props.item.archived"
|
||||
color="rose"
|
||||
|
||||
Reference in New Issue
Block a user