From bfe9ba3039cd1cee35e5cf903cee7719012b2962 Mon Sep 17 00:00:00 2001 From: Ella E Date: Mon, 14 Mar 2022 11:42:37 -0600 Subject: [PATCH] UX: Hide group avatar flair block if it's empty --- app/assets/javascripts/discourse/app/templates/group.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/group.hbs b/app/assets/javascripts/discourse/app/templates/group.hbs index 757936c26db..75270a49fd4 100644 --- a/app/assets/javascripts/discourse/app/templates/group.hbs +++ b/app/assets/javascripts/discourse/app/templates/group.hbs @@ -9,16 +9,16 @@
-
- {{#if (or model.flair_icon model.flair_url model.flair_bg_color)}} + {{#if (or model.flair_icon model.flair_url model.flair_bg_color)}} +
{{avatar-flair flairName=model.name flairUrl=(or model.flair_icon model.flair_url) flairBgColor=model.flair_bg_color flairColor=model.flair_color }} - {{/if}} -
+
+ {{/if}}
{{groupName}}