Skip to content

Commit

Permalink
Remove Duplicate Item
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Nov 10, 2024
1 parent d4f62e8 commit ae6c941
Showing 1 changed file with 0 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,34 +28,3 @@
<x-heroicon-m-x-mark class="laravel-livewire-tables-btn-tiny" />
</a>
@endif
@aware(['tableName','isTailwind','isBootstrap','isBootstrap4','isBootstrap5'])
@props(['filterKey'])
@if ($isTailwind)
<button
wire:click="resetFilter('{{ $filterKey }}')"
type="button"
@class([
"flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center focus:outline-none",
"text-indigo-400 hover:bg-indigo-200 hover:text-indigo-500 focus:bg-indigo-500 focus:text-white",
])
>
<span class="sr-only">{{ __('livewire-tables::core.Remove filter option') }}</span>
<x-heroicon-m-x-mark class="h-full" />
</button>
@else
<a
href="#"
wire:click="resetFilter('{{ $filterKey }}')"
@class([
'text-white ml-2' => ($isBootstrap),
])
>
<span @class([
'sr-only' => $isBootstrap4,
'visually-hidden' => $isBootstrap5,
])>{{ __('livewire-tables::core.Remove filter option') }}

</span>
<x-heroicon-m-x-mark class="laravel-livewire-tables-btn-tiny" />
</a>
@endif

0 comments on commit ae6c941

Please sign in to comment.