Fixed table actions missing url issue

This commit is contained in:
Cüneyt Şentürk 2023-06-14 17:59:22 +03:00
parent e60b735a46
commit e1f3d1fc53

View File

@ -12,11 +12,14 @@
@break @break
@endif @endif
@if (isset($action['type']) && $action['type'] == 'divider')
@continue
@endif
@if ( @if (
empty($action['permission']) empty($action['permission'])
|| (! empty($action['permission']) && user()->can($action['permission'])) || (! empty($action['permission']) && user()->can($action['permission']))
) )
@php @php
$type = ! empty($action['type']) ? $action['type'] : 'link'; $type = ! empty($action['type']) ? $action['type'] : 'link';
@endphp @endphp