diff --git a/resources/views/filament/pages/supporto/modifiche.blade.php b/resources/views/filament/pages/supporto/modifiche.blade.php index 6b615aa..6320258 100644 --- a/resources/views/filament/pages/supporto/modifiche.blade.php +++ b/resources/views/filament/pages/supporto/modifiche.blade.php @@ -1,6 +1,8 @@
- @php($supportUpdateAuthUser = auth()->user()) - @php($supportCanRunUpdate = $supportUpdateAuthUser && method_exists($supportUpdateAuthUser, 'hasAnyRole') && $supportUpdateAuthUser->hasAnyRole(['super-admin', 'admin', 'amministratore'])) + @php + $supportUpdateAuthUser = auth()->user(); + $supportCanRunUpdate = $supportUpdateAuthUser && method_exists($supportUpdateAuthUser, 'hasAnyRole') && $supportUpdateAuthUser->hasAnyRole(['super-admin', 'admin', 'amministratore']); + @endphp
{{ $commit['author'] }} {{ $commit['message'] }} - @php - $note = $this->getCommitNote($commit['hash']); - @endphp -
{{ $note !== '' ? $note : '-' }}
+
{{ $this->getCommitNote($commit['hash']) !== '' ? $this->getCommitNote($commit['hash']) : '-' }}
@empty