mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Merge pull request #4156 from mcwumbly/fix-custom-user-field-user-card
Fix: Custom user fields on user card could show for wrong user.
This commit is contained in:
commit
09aa134b01
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue