resources/views/livewire/datatable.blade.php: Adding "toggleTrashed" button.
This commit is contained in:
parent
0110e8e8e7
commit
fb288fe18b
1 changed files with 8 additions and 2 deletions
|
|
@ -1,8 +1,14 @@
|
|||
<div>
|
||||
|
||||
@if ($route_create)
|
||||
<div class="mb-4">
|
||||
@if ($route_create || $route_restore)
|
||||
<div class="flex space-x-4 mb-4">
|
||||
@if ($route_create)
|
||||
<x-button :href="route($route_create)" type="info">{{ __('New') }}</x-button>
|
||||
@endif
|
||||
|
||||
@if ($route_restore)
|
||||
<x-button wire:click="toggleTrashed" type="warning">{{ __('Show deleted records') }}</x-button>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
|
|
|||
Reference in a new issue