diff --git a/app/assets/javascripts/discourse/components/user-card-contents.js.es6 b/app/assets/javascripts/discourse/components/user-card-contents.js.es6 index a3681637b5e..780ee6fb467 100644 --- a/app/assets/javascripts/discourse/components/user-card-contents.js.es6 +++ b/app/assets/javascripts/discourse/components/user-card-contents.js.es6 @@ -167,12 +167,9 @@ export default Ember.Component.extend( .finally(() => this.set("loading", null)); }, - didInsertElement() { - this._super(...arguments); - }, - _close() { this._super(...arguments); + this.setProperties({ user: null, topicPostCount: null diff --git a/app/assets/javascripts/discourse/templates/components/group-card-contents.hbs b/app/assets/javascripts/discourse/templates/components/group-card-contents.hbs index 164df0d599d..962f710ab48 100644 --- a/app/assets/javascripts/discourse/templates/components/group-card-contents.hbs +++ b/app/assets/javascripts/discourse/templates/components/group-card-contents.hbs @@ -3,7 +3,7 @@
- + {{avatar-flair flairURL=group.flair_url flairBgColor=group.flair_bg_color @@ -14,7 +14,7 @@

- {{group.name}} + {{group.name}}

{{#if group.full_name}}

{{group.full_name}}

@@ -74,7 +74,7 @@ {{bound-avatar user "tiny"}} {{/each}} {{#if showMoreMembers}} - +{{moreMembersCount}} {{i18n "more"}} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs index 71f0adbf8cc..23547472f88 100644 --- a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs +++ b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs @@ -6,7 +6,7 @@ {{#if user.profile_hidden}} {{bound-avatar user "huge"}} {{else}} - {{bound-avatar user "huge"}} + {{bound-avatar user "huge"}} {{/if}} {{#if user.primary_group_name}} {{avatar-flair @@ -26,7 +26,7 @@ {{user-status user currentUser=currentUser}} {{else}} - @@ -221,4 +221,4 @@ {{/if}}
-{{/if}} \ No newline at end of file +{{/if}}