2020@if ($isTailwind )
2121 <th scope =" col" {{
2222 $attributes -> merge ($customThAttributes )
23- -> class ([' text-gray-500 dark:bg-gray-800 dark:text-gray-400' => ($customThAttributes [' default-colors' ] ?? true || $customThAttributes [' default' ] ?? true )])
24- -> class ([' px-6 py-3 text-left text-xs font-medium whitespace-nowrap uppercase tracking-wider' => ($customThAttributes [' default-styling' ] ?? true || $customThAttributes [' default' ] ?? true )])
23+ -> class ([' text-gray-500 dark:bg-gray-800 dark:text-gray-400' => (( $customThAttributes [' default-colors' ] ?? true ) || ( $customThAttributes [' default' ] ?? true ) )])
24+ -> class ([' px-6 py-3 text-left text-xs font-medium whitespace-nowrap uppercase tracking-wider' => (( $customThAttributes [' default-styling' ] ?? true ) || ( $customThAttributes [' default' ] ?? true ) )])
2525 -> class ([' hidden' => $column -> shouldCollapseAlways ()])
2626 -> class ([' hidden md:table-cell' => $column -> shouldCollapseOnMobile ()])
2727 -> class ([' hidden lg:table-cell' => $column -> shouldCollapseOnTablet ()])
3535 <button wire:click =" sortBy('{{ $column -> getColumnSortKey () } } ')"
3636 {{
3737 $attributes -> merge ($customSortButtonAttributes )
38- -> class ([' text-gray-500 dark:text-gray-400' => ($customSortButtonAttributes [' default-colors' ] ?? true || $customSortButtonAttributes [' default' ] ?? true )])
39- -> class ([' flex items-center space-x-1 text-left text-xs leading-4 font-medium uppercase tracking-wider group focus:outline-none' => ($customSortButtonAttributes [' default-styling' ] ?? true || $customSortButtonAttributes [' default' ] ?? true )])
38+ -> class ([' text-gray-500 dark:text-gray-400' => (( $customSortButtonAttributes [' default-colors' ] ?? true ) || ( $customSortButtonAttributes [' default' ] ?? true ))])
39+ -> class ([' flex items-center space-x-1 text-left text-xs leading-4 font-medium uppercase tracking-wider group focus:outline-none' => (( $customSortButtonAttributes [' default-styling' ] ?? true ) || ( $customSortButtonAttributes [' default' ] ?? true ) )])
4040 -> except ([' default' , ' default-colors' , ' default-styling' , ' wire:key' ])
4141 } }
4242 >
@@ -71,20 +71,20 @@ class="d-flex align-items-center laravel-livewire-tables-cursor"
7171 wire:click =" sortBy('{{ $column -> getColumnSortKey () } } ')"
7272 {{
7373 $attributes -> merge ($customSortButtonAttributes )
74- -> class ([' ' => ($customSortButtonAttributes [' default-styling' ] ?? true || $customSortButtonAttributes [' default' ] ?? true )])
74+ -> class ([' ' => (( $customSortButtonAttributes [' default-styling' ] ?? true ) || ( $customSortButtonAttributes [' default' ] ?? true ) )])
7575 -> except ([' default' , ' default-colors' , ' default-styling' , ' wire:key' ])
7676 } }
7777 >
7878 <span {{ $customLabelAttributes -> except ([' default' , ' default-colors' , ' default-styling' ]) } } >{{ $column -> getTitle () } } </span >
7979
8080 <x-livewire-tables::table .th.sort-icons :$direction {{
8181 $attributes -> merge ($customSortButtonAttributes )
82- -> class ([' ' => ($customSortButtonAttributes [' default-colors' ] ?? true || $customSortButtonAttributes [' default' ] ?? true )])
82+ -> class ([' ' => (( $customSortButtonAttributes [' default-colors' ] ?? true ) || ( $customSortButtonAttributes [' default' ] ?? true ) )])
8383 -> except ([' default' , ' default-colors' , ' default-styling' , ' wire:key' ])
8484 } }
8585 />
8686 </div >
8787 @endunless
8888 @endif
8989 </th >
90- @endif
90+ @endif
0 commit comments