We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e586dbc commit 36986f2Copy full SHA for 36986f2
resources/views/tailwind/components/table/row.blade.php
@@ -7,7 +7,7 @@
7
@endif
8
9
<tr
10
- {{ $attributes->merge($customAttributes)->class(['cursor-pointer' => $url]) }}
+ {{ $attributes->merge($customAttributes)->merge(['class' => $url ? 'cursor-pointer' : '']) }}
11
12
@if ($url)
13
onclick="window.open('{{ $url }}', '{{ $target }}')"
0 commit comments