diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-09-22 17:12:42 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-22 17:12:42 +0200 |
commit | f06e2711098e6a63f2bd56910516c283d6bc6c04 (patch) | |
tree | d3ba7a5cf7ae21dc4663d6a007d0ad786bb4a31f /pages/models | |
parent | ddf5c9356b9d459dededb826faa7a41f34605b72 (diff) |
Do not show images box where array is empty
Diffstat (limited to 'pages/models')
-rw-r--r-- | pages/models/_id.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/models/_id.vue b/pages/models/_id.vue index 1017032..b7b30d3 100644 --- a/pages/models/_id.vue +++ b/pages/models/_id.vue @@ -15,7 +15,7 @@ .description.mt-3 p {{ model.description }} - .images.shadow-sm.rounded-lg.bg-white.p-4.w-full + .images.shadow-sm.rounded-lg.bg-white.p-4.w-full(v-if="model.uploads") .block.gap-4.h-full(class="md:flex") .w-full(class="md:w-4/5") .image.bg-gray-900.border-2.rounded-xl.w-full.h-full.overflow-hidden(v-if="model.uploads && model.uploads[selectedUpload]") |