mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: Word null appearing in user card
This commit is contained in:
parent
ead073bd87
commit
7f60276d66
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue