mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 14:49:07 +08:00
FIX: description for custom badges were not showing up
This commit is contained in:
parent
ef6536453b
commit
4648c0ee19
|
@ -17,7 +17,7 @@ export default Ember.Component.extend({
|
|||
if (size === 'large') {
|
||||
return Discourse.Emoji.unescape(this.get('badge.long_description') || '');
|
||||
}
|
||||
return this.get('badge.translatedDescription');
|
||||
return this.get('badge.displayDescriptionHtml');
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user