Skip to content

Commit 910259b

Browse files
committed
Fix sorting pills
1 parent 392e7d5 commit 910259b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/views/bootstrap-4/includes/sorting-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@foreach($sorts as $col => $dir)
66
<span
7-
wire:key="sorting-pill-{{ $key }}"
7+
wire:key="sorting-pill-{{ $col }}"
88
class="badge badge-pill badge-info d-inline-flex align-items-center"
99
>
1010
<span>{{ $sortNames[$col] ?? ucwords(strtr($col, ['_' => ' ', '-' => ' '])) }}: {{ $dir === 'asc' ? 'A-Z' : 'Z-A' }}</span>

resources/views/bootstrap-5/includes/sorting-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@foreach($sorts as $col => $dir)
66
<span
7-
wire:key="sorting-pill-{{ $key }}"
7+
wire:key="sorting-pill-{{ $col }}"
88
class="badge rounded-pill bg-info d-inline-flex align-items-center"
99
>
1010
<span>{{ $sortNames[$col] ?? ucwords(strtr($col, ['_' => ' ', '-' => ' '])) }}: {{ $dir === 'asc' ? 'A-Z' : 'Z-A' }}</span>

resources/views/tailwind/includes/sorting-pills.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@foreach($sorts as $col => $dir)
66
<span
7-
wire:key="sorting-pill-{{ $key }}"
7+
wire:key="sorting-pill-{{ $col }}"
88
class="inline-flex items-center py-0.5 pl-2 pr-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-700"
99
>
1010
{{ $sortNames[$col] ?? ucwords(strtr($col, ['_' => ' ', '-' => ' '])) }}: {{ $dir === 'asc' ? 'A-Z' : 'Z-A' }}

0 commit comments

Comments
 (0)