ui updates for ticket layout
This commit is contained in:
@@ -303,6 +303,9 @@ final class TicketShow extends Component
|
||||
|
||||
$comments = Comment::query()
|
||||
->where('ticket_id', $ticket->id)
|
||||
->when(Schema::hasColumn('helpdesk_comments', 'tombstoned_at'), static function ($query): void {
|
||||
$query->whereNull('tombstoned_at');
|
||||
})
|
||||
->when(! $this->canSeeInternalNotes(), static function ($query): void {
|
||||
$query->where('is_internal', false);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user