feat: don't render superfluous modals
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user