FIX: description for custom badges were not showing up

This commit is contained in:
Arpit Jalan 2016-03-26 09:47:05 +05:30
parent ef6536453b
commit 4648c0ee19
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}
});