From 2f422a532063c5a8cdcedf03cdb35640c7b83ada Mon Sep 17 00:00:00 2001 From: Mark Gregory Date: Tue, 13 Oct 2026 16:53:37 +0100 Subject: [PATCH] added support for legacy tickets, fixed switching of modes and also style updates --- .../views/modules/helpdesk/livewire/ticket-show.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/themes/backend/views/modules/helpdesk/livewire/ticket-show.blade.php b/resources/themes/backend/views/modules/helpdesk/livewire/ticket-show.blade.php index 63e6ea5..ef38ea5 100755 --- a/resources/themes/backend/views/modules/helpdesk/livewire/ticket-show.blade.php +++ b/resources/themes/backend/views/modules/helpdesk/livewire/ticket-show.blade.php @@ -122,7 +122,7 @@ - {{ $ticket->attachments->count() }} file{{ $ticket->attachments->count() === 1 ? '' : 's' }} + {{ $ticket->attachments->filter(fn ($attachment) => ! $attachment->isDeletedAttachment())->count() }} file{{ $ticket->attachments->filter(fn ($attachment) => ! $attachment->isDeletedAttachment())->count() === 1 ? '' : 's' }}