@props(['resource', 'row']) merge(['class' => 'px-4 py-3 text-sm font-medium text-right whitespace-nowrap']) !!}>
@if ($resource->enableTrashFilter && !$row->trashed()) @can('update', $row) @endcan @else @can('update', $row) @if (!$resource->enableTrashFilter) @endif @endcan @endif @if ($resource->enableTrashFilter && $row->trashed()) @can('restore', $row) @endcan @else @can('delete', $row) @endcan @endif