DEV: add description parameter to discourse-tag component (#28213)

* DEV: add description parameter to discourse-tag component

* prettier
This commit is contained in:
marstall 2024-08-05 12:04:54 -04:00 committed by GitHub
parent f9b44361b2
commit e7f976a106
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,10 @@
{{#if this.isTag}}
{{discourse-tag this.rowValue noHref=true count=this.item.count}}
{{discourse-tag
this.rowValue
noHref=true
description=this.item.description
count=this.item.count
}}
{{else}}
<span class="name">{{this.item.name}}</span>
{{/if}}