From 684b71e2ff44e64e8e677e32d08abf9ba232c3a6 Mon Sep 17 00:00:00 2001 From: michele Date: Thu, 9 Apr 2026 08:04:12 +0000 Subject: [PATCH] Harden ticket gestione attachment modal blade --- .../pages/supporto/ticket-gestione.blade.php | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/resources/views/filament/pages/supporto/ticket-gestione.blade.php b/resources/views/filament/pages/supporto/ticket-gestione.blade.php index 88467dd..ff1fdea 100644 --- a/resources/views/filament/pages/supporto/ticket-gestione.blade.php +++ b/resources/views/filament/pages/supporto/ticket-gestione.blade.php @@ -586,7 +586,28 @@ @if($attachmentPreview) -
+ @php($attachmentPreviewUrl = (string) ($attachmentPreview['url'] ?? '')) +
@@ -641,7 +662,7 @@
@elseif($attachmentPreview['is_pdf'] ?? false) - + @else
Anteprima non disponibile per questo formato. Scarica o apri il file: