FIX: Word null appearing in user card
This commit is contained in:
parent
ead073bd87
commit
7f60276d66
|
@ -92,7 +92,7 @@ Discourse.User = Discourse.Model.extend({
|
||||||
desc = I18n.t('user.moderator', {user: name});
|
desc = I18n.t('user.moderator', {user: name});
|
||||||
return '<i class="fa fa-shield" title="' + desc + '" alt="' + desc + '"></i>';
|
return '<i class="fa fa-shield" title="' + desc + '" alt="' + desc + '"></i>';
|
||||||
}
|
}
|
||||||
return null;
|
return "";
|
||||||
}.property('admin','moderator'),
|
}.property('admin','moderator'),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue