FIX: Word null appearing in user card

This commit is contained in:
Robin Ward 2014-12-03 16:02:17 -05:00
parent ead073bd87
commit 7f60276d66

View file

@ -92,7 +92,7 @@ Discourse.User = Discourse.Model.extend({
desc = I18n.t('user.moderator', {user: name});
return '<i class="fa fa-shield" title="' + desc + '" alt="' + desc + '"></i>';
}
return null;
return "";
}.property('admin','moderator'),
/**