From 5ad878ca40ca3aaad5c597d720c967da6231b391 Mon Sep 17 00:00:00 2001 From: Erick Guan Date: Mon, 25 May 2015 01:32:11 +0800 Subject: [PATCH] FIX: add missing username properties to usercard --- app/assets/javascripts/discourse/controllers/user-card.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/user-card.js.es6 b/app/assets/javascripts/discourse/controllers/user-card.js.es6 index 5be328920d6..4bbe3769709 100644 --- a/app/assets/javascripts/discourse/controllers/user-card.js.es6 +++ b/app/assets/javascripts/discourse/controllers/user-card.js.es6 @@ -63,7 +63,7 @@ export default Ember.Controller.extend({ return; } - this.setProperties({ user: null, userLoading: username, cardTarget: target, topicPostCount: null }); + this.setProperties({ user: null, username, userLoading: username, cardTarget: target, topicPostCount: null }); const args = { stats: false }; args.include_post_count_for = this.get('controllers.topic.model.id');