Skip to content

Commit 0eae886

Browse files
committed
Fix broken separator
1 parent 8b91ac5 commit 0eae886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/components/tools/filter-pills/item.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
@aware(['tableName','isTailwind','isBootstrap','isBootstrap4','isBootstrap5'])
2-
@props(['filterKey', 'filterPillData'])
2+
@props(['filterKey', 'filterPillData','filterPillsSeparator' => ($filterPillData->getSeparator() ?? ','), ])
33
<x-livewire-tables::tools.filter-pills.wrapper :$filterKey :$filterPillData :shouldWatch="true">
44
{{ $filterPillData->getTitle() }}:
55

66
@if(is_array($filterPillValues = $filterPillData->getPillValue()))
77
@foreach($filterPillValues as $filterPillValue)
8-
{{ $filterPillValue }}{!! !$loop->last ? $separator : '' !!}
8+
{{ $filterPillValue }}{!! !$loop->last ? $filterPillsSeparator : '' !!}
99
@endforeach
1010
@else
1111
{{ $filterPillValues }}

0 commit comments

Comments
 (0)