mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 23:26:18 +08:00
don't try to render flair if there's no primary group
This commit is contained in:
parent
e3e15182df
commit
d0ebde9d84
|
@ -3,7 +3,9 @@
|
|||
|
||||
<div class="user-card-avatar">
|
||||
<a href={{user.path}} {{action "showUser"}} class="card-huge-avatar">{{bound-avatar avatar "huge"}}</a>
|
||||
{{mount-widget widget="avatar-flair" args=user}}
|
||||
{{#if user.primary_group_name}}
|
||||
{{mount-widget widget="avatar-flair" args=user}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="names">
|
||||
|
|
Loading…
Reference in New Issue
Block a user