mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 11:20:57 -06:00
FIX: fa- check was incorrect on user card
This commit is contained in:
parent
a0e92ef57a
commit
b328d47628
@ -30,7 +30,7 @@ export default ObjectController.extend({
|
||||
|
||||
hasCardBadgeImage: function() {
|
||||
var img = this.get('user.card_badge.image');
|
||||
return img && img.indexOf('fa-') === 0;
|
||||
return img && img.indexOf('fa-') !== 0;
|
||||
}.property('user.card_badge.image'),
|
||||
|
||||
show: function(username, uploadedAvatarId) {
|
||||
|
Loading…
Reference in New Issue
Block a user