File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed
resources/views/components/actions Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function ($action) use ($record): bool {
2424<div
2525 {{
2626 $attributes -> class ([
27- ' fi-ta -actions flex shrink-0 items-center gap-3' ,
27+ ' fi-tree -actions flex shrink-0 items-center gap-3' ,
2828 ' flex-wrap' => $wrap ,
2929 ' sm:flex-nowrap' => $wrap === ' -sm' ,
3030 match ($alignment ) {
@@ -36,26 +36,5 @@ function ($action) use ($record): bool {
3636 ])
3737 } }
3838>
39- @foreach ($actions as $action )
40- @php
41- $labeledFromBreakpoint = $action -> getLabeledFromBreakpoint ();
42- @endphp
43-
44- <span
45- @class ([
46- ' inline-flex' ,
47- ' -mx-2' => $action -> isIconButton () || $labeledFromBreakpoint ,
48- match ($labeledFromBreakpoint ) {
49- ' sm' => ' sm:mx-0' ,
50- ' md' => ' md:mx-0' ,
51- ' lg' => ' lg:mx-0' ,
52- ' xl' => ' xl:mx-0' ,
53- ' 2xl' => ' 2xl:mx-0' ,
54- default => null ,
55- },
56- ] )
57- >
58- {{ $action } }
59- </span >
60- @endforeach
39+ <x-filament-actions::actions :actions =" $actions" />
6140</div >
You can’t perform that action at this time.
0 commit comments