Update header-cell.blade.php

This commit is contained in:
Dan Harrin
2024-08-22 11:11:11 +01:00
committed by GitHub
parent 2448a2fd43
commit 4a7cff64d7
@@ -23,11 +23,11 @@
<{{ $sortable ? 'button' : 'span' }}
@if ($sortable)
type="button"
aria-label="{{$slot}}"
aria-label="{{ $slot }}"
wire:click="sortTable('{{ $name }}')"
@endif
@if($activelySorted)
aria-sort="{{ $sortDirection === 'asc' ? 'ascending' : 'descending'}}"
@if ($activelySorted)
aria-sort="{{ __($sortDirection === 'asc' ? 'filament-tables::table.sorting.fields.direction.options.asc' : 'filament-tables::table.sorting.fields.direction.options.desc') }}"
@endif
@class([
'group flex w-full items-center gap-x-1',