Skip to content

Commit 80783e1

Browse files
authored
use ->getSlug() everywhere in column selection
1 parent 67525aa commit 80783e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/components/tools/toolbar.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ class="px-2 {{ $loop->last ? 'mb-0' : 'mb-1' }}"
754754
wire:target="selectedColumns"
755755
wire:loading.attr="disabled"
756756
type="checkbox"
757-
value="{{ $column->getField() }}"
757+
value="{{ $column->getSlug() }}"
758758
/>
759759
<span class="ml-2">{{ $column->getTitle() }}</span>
760760
</label>
@@ -813,4 +813,4 @@ class="d-block">
813813

814814
@if ($component->hasConfigurableAreaFor('after-toolbar'))
815815
@include($component->getConfigurableAreaFor('after-toolbar'), $component->getParametersForConfigurableArea('after-toolbar'))
816-
@endif
816+
@endif

0 commit comments

Comments
 (0)