File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
bootstrap-4/components/table
bootstrap-5/components/table Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 7
7
@endif
8
8
9
9
<tr
10
- {{ $attributes -> merge ($customAttributes ) } }
10
+ {{ $attributes -> merge ($customAttributes )-> merge ([ ' style ' => ( $url || $wireclick ) ? ' cursor: pointer; ' : ' ' ]) } }
11
11
12
12
@if ($url )
13
13
onclick =" window.open('{{ $url } } ', '{{ $target } } ')"
14
- style =" cursor :pointer "
14
+ @elseif ($wireclick )
15
+ wire:click =" {{ $wireclick } }"
15
16
@endif
16
17
>
17
18
{{ $slot } }
Original file line number Diff line number Diff line change 7
7
@endif
8
8
9
9
<tr
10
- {{ $attributes -> merge ($customAttributes ) } }
10
+ {{ $attributes -> merge ($customAttributes )-> merge ([ ' style ' => ( $url || $wireclick ) ? ' cursor: pointer; ' : ' ' ]) } }
11
11
12
12
@if ($url )
13
13
onclick =" window.open('{{ $url } } ', '{{ $target } } ')"
14
- style =" cursor :pointer "
14
+ @elseif ($wireclick )
15
+ wire:click =" {{ $wireclick } }"
15
16
@endif
16
17
>
17
18
{{ $slot } }
You can’t perform that action at this time.
0 commit comments