Skip to content

Commit

Permalink
Avoid showind the dropdown icon when there are not actions on a grid …
Browse files Browse the repository at this point in the history
…view
  • Loading branch information
Gustavinho committed Jun 24, 2021
1 parent e617415 commit 5889441
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions resources/views/grid-view/grid-view-item.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@
@endif
</div>

<div class="flex justify-end items-center">
<x-lv-actions.drop-down :actions="$actions" :model="$model" />
</div>
@if (count($actions))
<div class="flex justify-end items-center">
<x-lv-actions.drop-down :actions="$actions" :model="$model" />
</div>
@endif
</div>

@if (isset($description))
Expand Down

0 comments on commit 5889441

Please sign in to comment.