Skip to content

Commit 3275795

Browse files
authored
fix: show refund policy button only if its present (#5039)
1 parent a98c6a7 commit 3275795

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

app/templates/components/public/ticket-list.hbs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,12 @@
181181
{{t 'Order Now'}}
182182
</button>
183183
<div class="ui hidden divider"></div>
184-
<UiPopup @html={{this.event.refundPolicy}} @class="ui mini labeled teal icon button" @position="right center">
185-
<i class="info icon"></i>
186-
{{t 'Refund Policy'}}
187-
</UiPopup>
184+
{{#if this.event.refundPolicy}}
185+
<UiPopup @html={{this.event.refundPolicy}} @class="ui mini labeled teal icon button" @position="right center">
186+
<i class="info icon"></i>
187+
{{t 'Refund Policy'}}
188+
</UiPopup>
189+
{{/if}}
188190
</div>
189191
</div>
190192
</div>

0 commit comments

Comments
 (0)