#124: Product Service reorder button is on wrong side

This commit is contained in:
Nisse Lommerde 2025-04-03 11:55:21 -04:00
parent 01f602f8d6
commit 5de1726ce8
2 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# Changelog
**2025-03-04**
- Fixed #123 - Typo 'Add to product Services'
- Fixed #124 - Reorder button for product services is displayed on wrong side
**2025-03-11**
- Fixed #122 - Non-admins can see payments

View File

@ -118,6 +118,7 @@ class="fi-fo-repeater-item divide-y divide-gray-100 rounded-xl bg-white shadow-
>
@if ($reorderActionIsVisible || $moveUpActionIsVisible || $moveDownActionIsVisible)
<ul class="flex items-center gap-x-3">
{{--
@if ($reorderActionIsVisible)
<li
x-sortable-handle
@ -126,6 +127,7 @@ class="fi-fo-repeater-item divide-y divide-gray-100 rounded-xl bg-white shadow-
{{ $reorderAction }}
</li>
@endif
--}}
@if ($moveUpActionIsVisible || $moveDownActionIsVisible)
<li
@ -156,7 +158,7 @@ class="flex items-center justify-center"
</h4>
@endif
@if ($cloneActionIsVisible || $deleteActionIsVisible || $isCollapsible || $visibleExtraItemActions)
@if ($cloneActionIsVisible || $deleteActionIsVisible || $isCollapsible || $visibleExtraItemActions || $reorderActionIsVisible)
<ul
class="ms-auto flex items-center gap-x-3"
>
@ -166,6 +168,15 @@ class="ms-auto flex items-center gap-x-3"
</li>
@endforeach
@if ($reorderActionIsVisible)
<li
x-sortable-handle
x-on:click.stop
>
{{ $reorderAction }}
</li>
@endif
@if ($cloneActionIsVisible)
<li x-on:click.stop>
{{ $cloneAction }}