mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 10:06:17 +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