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:
parent
ba50900e3c
commit
d3b6dd29dc
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
</th>
|
</th>
|
||||||
@endforeach
|
@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>
|
<th class="border px-6 py-3 w-4">{{ __('Actions') }}</th>
|
||||||
@endif
|
@endif
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
Reference in a new issue