Fix: Custom user fields on user card could show for wrong user.

This commit is contained in:
David McClure 2016-04-09 04:10:58 -07:00
parent 030fb71f60
commit 24ae69ce8d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ export default Ember.Controller.extend({
showMoreBadges: Em.computed.gt('moreBadgesCount', 0),
showDelete: Em.computed.and("viewingAdmin", "showName", "user.canBeDeleted"),
@computed('model.user_fields.@each.value')
@computed('user.user_fields.@each.value')
publicUserFields() {
const siteUserFields = this.site.get('user_fields');
if (!Ember.isEmpty(siteUserFields)) {