FIX: add missing username properties to usercard

This commit is contained in:
Erick Guan 2015-05-25 01:32:11 +08:00
parent 815e17b17b
commit 5ad878ca40
1 changed files with 1 additions and 1 deletions

View File

@ -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');