mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Fix: Custom user fields on user card could show for wrong user.
This commit is contained in:
parent
030fb71f60
commit
24ae69ce8d
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