diff --git a/resources/views/components/table/actions-mobile.blade.php b/resources/views/components/table/actions-mobile.blade.php index 66be3934f..cdb45a71c 100644 --- a/resources/views/components/table/actions-mobile.blade.php +++ b/resources/views/components/table/actions-mobile.blade.php @@ -50,12 +50,13 @@ @case('delete') @php + $text = $action['text'] ?? null; $title = $action['title'] ?? null; $modelId = ! empty($action['model-id']) ? $action['model-id'] : 'id'; $modelName = ! empty($action['model-name']) ? $action['model-name'] : 'name'; @endphp - + @break @default @@ -114,11 +115,13 @@ @php $divider = false; @endphp @php + $text = $action['text'] ?? null; $title = $action['title'] ?? null; $modelId = ! empty($action['model-id']) ? $action['model-id'] : 'id'; $modelName = ! empty($action['model-name']) ? $action['model-name'] : 'name'; @endphp - + + @break @case('divider')