@php $showActionsColumn = $resource instanceof \App\Models\Application; $gridClass = match (true) { $supportsPreviewSuffix => 'volumes-table-grid-with-pr', $showActionsColumn => 'volumes-table-grid', default => 'volumes-table-grid-readonly', }; $canUpdate = auth()->user()?->can('update', $resource) ?? false; $inputsReadonly = $isReadOnly || ! $canUpdate; $displayHostPath = filled($hostPath) ? $hostPath : '—'; @endphp @if ($inputsReadonly) {{-- Read-only: plain data-table row (service / compose / no permission) --}}