feat: don't render superfluous modals
This commit is contained in:
@@ -168,9 +168,6 @@
|
|||||||
<f:for each="{prices.available}" as="row">
|
<f:for each="{prices.available}" as="row">
|
||||||
<f:render section="OptionsModalRow" arguments="{_all}"/>
|
<f:render section="OptionsModalRow" arguments="{_all}"/>
|
||||||
</f:for>
|
</f:for>
|
||||||
<f:for each="{prices.unavailable}" as="row">
|
|
||||||
<f:render section="OptionsModalRow" arguments="{_all}"/>
|
|
||||||
</f:for>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -304,6 +301,7 @@
|
|||||||
data-modal-target="content"
|
data-modal-target="content"
|
||||||
data-uid="{row.roomUid}">
|
data-uid="{row.roomUid}">
|
||||||
<f:for each="{row.optionalServices}" as="section" key="sectionCode">
|
<f:for each="{row.optionalServices}" as="section" key="sectionCode">
|
||||||
|
<f:if condition="{section.services}">
|
||||||
<div class="py-2 -mx-1">
|
<div class="py-2 -mx-1">
|
||||||
<div class="font-bold text-xl px-1">
|
<div class="font-bold text-xl px-1">
|
||||||
{section.label}
|
{section.label}
|
||||||
@@ -321,6 +319,7 @@
|
|||||||
</f:if>
|
</f:if>
|
||||||
</f:for>
|
</f:for>
|
||||||
</div>
|
</div>
|
||||||
|
</f:if>
|
||||||
</f:for>
|
</f:for>
|
||||||
</div>
|
</div>
|
||||||
</f:Section>
|
</f:Section>
|
||||||
|
|||||||
Reference in New Issue
Block a user