Added Mobile Rendering to EntityShow

This commit is contained in:
2025-03-28 17:25:31 +01:00
parent a3bec6a9b1
commit 7a986189df
10 changed files with 178 additions and 19 deletions

View File

@@ -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}`)"