File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
resources/views/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- <div x-data =" { open: {{ $item -> isActive () } } }" >
1+ <div x-data =" { open: {{ $item -> isActive () ? ' true ' : ' false ' } } }" >
22 @if ($item -> haschildren () )
33 <button @click =" open = !open" {{ $attributes -> merge ($item -> attributes ) } } >
44 <span class =" flex items-center" >
Original file line number Diff line number Diff line change 11@if ($item -> haschildren () )
2- <div x-data =" { open: {{ $item -> isActive () } } }" {{ $attributes -> merge ($item -> attributes ) } } >
3- <button @click =" open = !open" >
2+ <div x-data =" { open: {{ $item -> isActive () ? ' true ' : ' false ' } } }" {{ $attributes -> merge ($item -> attributes ) } } >
3+ <button @click =" open = !open" class = " flex justify-between items-center " >
44 <span class =" flex items-center" >
55 <x-menus-icon class =" h-5 w-5" :item =" $item" />
66 <span class =" mx-4" >{{ $item -> title } } </span >
You can’t perform that action at this time.
0 commit comments