Added Mobile Rendering to EntityShow
This commit is contained in:
@@ -18,6 +18,10 @@ const props = defineProps({
|
||||
topLevelType: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
platform: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -71,7 +75,10 @@ setup()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UCard class="mt-5" v-if="loaded" style="height: 80vh">
|
||||
<UCard class="mt-5" v-if="loaded" :style="props.platform !== 'mobile' ? 'height: 80vh' : ''">
|
||||
<template #header v-if="props.platform === 'mobile'">
|
||||
<span>{{dataType.label}}</span>
|
||||
</template>
|
||||
<Toolbar>
|
||||
<UButton
|
||||
@click="router.push(`/standardEntity/${type}/create?${props.queryStringData}`)"
|
||||
|
||||
Reference in New Issue
Block a user