discourse/app/assets/javascripts/select-kit/addon/components/selected-flair.hbs

10 lines
220 B
Handlebars

{{#if this.item.url}}
<AvatarFlair
@flairName={{this.item.name}}
@flairUrl={{this.item.url}}
@flairBgColor={{this.item.bgColor}}
@flairColor={{this.item.color}}
/>
{{/if}}
<span>{{this.label}}</span>