feat: don't render superfluous modals

This commit is contained in:
Björn Fromme
2025-05-06 17:44:13 +02:00
parent a7669aff60
commit 0038ff598a
@@ -168,9 +168,6 @@
<f:for each="{prices.available}" as="row">
<f:render section="OptionsModalRow" arguments="{_all}"/>
</f:for>
<f:for each="{prices.unavailable}" as="row">
<f:render section="OptionsModalRow" arguments="{_all}"/>
</f:for>
</div>
</div>
</div>
@@ -304,6 +301,7 @@
data-modal-target="content"
data-uid="{row.roomUid}">
<f:for each="{row.optionalServices}" as="section" key="sectionCode">
<f:if condition="{section.services}">
<div class="py-2 -mx-1">
<div class="font-bold text-xl px-1">
{section.label}
@@ -321,6 +319,7 @@
</f:if>
</f:for>
</div>
</f:if>
</f:for>
</div>
</f:Section>