From 39dfd080674632b57f7436d7e9b4905c83a38af5 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Sat, 24 Sep 2022 16:09:39 +0200
Subject: Use PreviewFile also in model index page

---
 components/ModelForm.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'components/ModelForm.vue')

diff --git a/components/ModelForm.vue b/components/ModelForm.vue
index ea1d3c3..442c0ba 100644
--- a/components/ModelForm.vue
+++ b/components/ModelForm.vue
@@ -5,7 +5,7 @@
       .fixed.inset-0.z-10.overflow-y-auto
         .flex.min-h-full.items-center.justify-center.p-4.text-center
           .relative.transform.overflow-hidden.rounded-lg.bg-white.shadow-xl.transition-all(class="w-10/12 sm:w-8/12")
-            file-preview(:path="openPreview")
+            file-preview(:path="openPreview" controls="1")
             .bg-gray-50.px-4.py-3(class="sm:flex sm:flex-row-reverse sm:px-6")
               button.mt-3.inline-flex.w-full.justify-center.rounded-md.border.border-gray-300.bg-white.px-4.py-2.text-base.font-medium.text-gray-700.shadow-sm(
                 type="button"
-- 
cgit v1.2.3-18-g5258

