Skip to content

Commit

Permalink
Merge branch '3.x' of https://github.com/filamentphp/filament into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Aug 22, 2024
2 parents a845be4 + a0cbabd commit 241b819
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@
@endphp

<th
@if ($activelySorted)
aria-sort="{{ $sortDirection === 'asc' ? 'ascending' : 'descending' }}"
@endif
{{ $attributes->class(['fi-ta-header-cell px-3 py-3.5 sm:first-of-type:ps-6 sm:last-of-type:pe-6']) }}
>
<{{ $sortable ? 'button' : 'span' }}
@if ($sortable)
aria-label="{{ __('filament-tables::table.sorting.fields.column.label') }} {{ $sortDirection === 'asc' ? __('filament-tables::table.sorting.fields.direction.options.desc') : __('filament-tables::table.sorting.fields.direction.options.asc') }}"
aria-label="{{ $slot }}"
type="button"
wire:click="sortTable('{{ $name }}')"
@endif
Expand Down

0 comments on commit 241b819

Please sign in to comment.