This repository was archived by the owner on Oct 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 33 @php $itemPrimaryKey = $table -> findPrimaryKey ($item ) @endphp
44
55 <tr
6- @if ($table -> rowLinks -> has ($itemKey ) )
7- class =" cursor-pointer"
8- @click =" (event) => table.visit(@js ($table -> rowLinks -> get ($itemKey ) ), @js ($table -> rowLinkType ), event)"
9- @endif
106 :class =" {
117 'bg-gray-50': table.striped && @js ($itemKey ) % 2,
128 'hover:bg-gray-100': table.striped,
@@ -29,8 +25,11 @@ class="rounded border-gray-300 text-indigo-600 shadow-sm focus:border-indigo-300
2925
3026 @foreach ($table -> columns () as $column )
3127 <td
28+ @if ($table -> rowLinks -> has ($itemKey ) )
29+ @click =" (event) => table.visit(@js ($table -> rowLinks -> get ($itemKey ) ), @js ($table -> rowLinkType ), event)"
30+ @endif
3231 v-show =" table.columnIsVisible(@js ($column -> key ))"
33- class =" whitespace-nowrap text-sm @if ($loop -> first && $hasBulkActions ) pr-6 @else px-6 @endif py-4 @if ($column -> highlight ) text-gray-900 font-medium @else text-gray-500 @endif "
32+ class =" whitespace-nowrap text-sm @if ($loop -> first && $hasBulkActions ) pr-6 @else px-6 @endif py-4 @if ($column -> highlight ) text-gray-900 font-medium @else text-gray-500 @endif @if ( $table -> rowLinks -> has ( $itemKey ) ) cursor-pointer @endif "
3433 >
3534 @isset (${' spladeTableCell' . $column -> keyHash ()} )
3635 {{ ${' spladeTableCell' . $column -> keyHash ()}($item , $itemKey ) } }
You can’t perform that action at this time.
0 commit comments