Archived
1
0
Fork 0

resources/views/livewire/datatable.blade.php: include $restore_enable and $trashed in condition if we should show an Action column or not.

This commit is contained in:
Henrik Hautakoski 2022-01-24 22:18:37 +01:00
parent ba50900e3c
commit d3b6dd29dc

View file

@ -28,7 +28,7 @@
</th>
@endforeach
@if($delete_enabled || $route_edit)
@if( (!$trashed && ($delete_enabled || $route_edit)) || ($trashed && $restore_enabled) )
<th class="border px-6 py-3 w-4">{{ __('Actions') }}</th>
@endif
</tr>