File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/resources/views/ui/widgets Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 66@includeWhen (! empty ($widget [' wrapper' ]), backpack_view (' widgets.inc.wrapper_start' ) )
77
88<div class =" {{ $widget [' class' ] ?? ' card' } }" @foreach ($widget [' attributes' ] ?? [] as $key => $value ) {{ $key } } =" {{ $value } }" @endforeach >
9- @livewire ($widget [' content' ], $widget [' parameters' ] ?? [] )
9+ @if (isset ($widget [' key' ]) )
10+ @livewire ($widget [' content' ], $widget [' parameters' ] ?? [], key ($widget [' key' ]) )
11+ @else
12+ @livewire ($widget [' content' ], $widget [' parameters' ] ?? [] )
13+ @endif
1014</div >
1115
1216@includeWhen (! empty ($widget [' wrapper' ]), backpack_view (' widgets.inc.wrapper_end' ) )
1519 @pushOnce (' after_styles' )
1620 @livewireStyles
1721 @endPushOnce
18-
22+
1923 @pushOnce (' after_scripts' )
2024 @livewireScripts
2125 @endpushOnce
You can’t perform that action at this time.
0 commit comments