From f06e2711098e6a63f2bd56910516c283d6bc6c04 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 22 Sep 2022 17:12:42 +0200 Subject: Do not show images box where array is empty --- pages/models/_id.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]") -- cgit v1.2.3-18-g5258