FIX: User fields disappeared on user profile

This commit is contained in:
Robin Ward 2015-05-11 17:06:24 -04:00
parent 3a9907f392
commit 6b299d4c81
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export default ObjectController.extend(CanCheckEmails, {
}.property('model.can_be_deleted', 'model.can_delete_all_posts'),
publicUserFields: function() {
var siteUserFields = this.site.get('model.user_fields');
var siteUserFields = this.site.get('user_fields');
if (!Ember.isEmpty(siteUserFields)) {
var userFields = this.get('model.user_fields');
return siteUserFields.filterProperty('show_on_profile', true).sortBy('id').map(function(uf) {