UX: Hide group avatar flair block if it's empty

This commit is contained in:
Ella E 2022-03-14 11:42:37 -06:00 committed by GitHub
parent f317783e65
commit bfe9ba3039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -9,16 +9,16 @@
<div class="group-details-container">
<div class="group-info">
<div class="group-avatar-flair">
{{#if (or model.flair_icon model.flair_url model.flair_bg_color)}}
{{#if (or model.flair_icon model.flair_url model.flair_bg_color)}}
<div class="group-avatar-flair">
{{avatar-flair
flairName=model.name
flairUrl=(or model.flair_icon model.flair_url)
flairBgColor=model.flair_bg_color
flairColor=model.flair_color
}}
{{/if}}
</div>
</div>
{{/if}}
<div class="group-info-names">
<span class="group-info-name">{{groupName}}</span>