FIX: fa- check was incorrect on user card

This commit is contained in:
Robin Ward 2014-11-05 15:19:08 -05:00
parent a0e92ef57a
commit b328d47628

View File

@ -30,7 +30,7 @@ export default ObjectController.extend({
hasCardBadgeImage: function() { hasCardBadgeImage: function() {
var img = this.get('user.card_badge.image'); 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'), }.property('user.card_badge.image'),
show: function(username, uploadedAvatarId) { show: function(username, uploadedAvatarId) {