Skip to content

Commit

Permalink
Merge pull request #163 from Laravel-Backpack/hot-fix-withcolumns
Browse files Browse the repository at this point in the history
hot fix - avoid forcing new crud version by check if variable isset
  • Loading branch information
pxpm committed Feb 22, 2024
2 parents fd98511 + c86bb89 commit d124fcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/components/menu-dropdown.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
@if($title)<span>{{ $title }}</span>@endif
</a>
<div class="dropdown-menu {{ $open ? 'show' : '' }} dropdown-submenu" aria-labelledby="{{$dropdownId}}">
@if($withColumns)
@if(isset($withColumns) && $withColumns)
<div class="dropdown-menu-columns">
@endif
{!! $slot !!}
@if($withColumns)
@if(isset($withColumns) && $withColumns)
</div>
@endif
</div>
Expand All @@ -40,11 +40,11 @@
@if($title)<span>{{ $title }}</span>@endif
</a>
<div class="dropdown-menu {{ $open ? 'show' : '' }}" data-bs-popper="static" aria-labelledby="{{$dropdownId}}">
@if($withColumns)
@if(isset($withColumns) && $withColumns)
<div class="dropdown-menu-columns">
@endif
{!! $slot !!}
@if($withColumns)
@if(isset($withColumns) && $withColumns)
</div>
@endif
</div>
Expand Down

0 comments on commit d124fcb

Please sign in to comment.