File tree 1 file changed +6
-7
lines changed
resources/views/components
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 26
26
27
27
$statePath = $getStatePath ();
28
28
29
- foreach ($containers as $uuid => $row ) {
30
- $visibleExtraItemActions = array_filter (
31
- $extraItemActions ,
32
- fn (Action $action ): bool => $action ([' item' => $uuid ])-> isVisible (),
33
- );
34
- }
35
-
36
29
foreach ($extraActions as $extraAction ) {
37
30
$visibleExtraActions = array_filter (
38
31
$extraActions ,
@@ -107,6 +100,12 @@ class="table-repeater-rows-wrapper divide-y divide-gray-950/5 dark:divide-white/
107
100
>
108
101
@if (count ($containers ) )
109
102
@foreach ($containers as $uuid => $row )
103
+ @php
104
+ $visibleExtraItemActions = array_filter (
105
+ $extraItemActions ,
106
+ fn (Action $action ): bool => $action ([' item' => $uuid ])-> isVisible (),
107
+ );
108
+ @endphp
110
109
<tr
111
110
wire:key =" {{ $this -> getId () } } .{{ $row -> getStatePath () } } .{{ $field :: class } } .item"
112
111
x-sortable-item =" {{ $uuid } }"
You can’t perform that action at this time.
0 commit comments