Merge pull request #3499 from fantasticfears/user-card

FIX: add missing username properties to usercard
This commit is contained in:
Régis Hanol 2015-05-24 19:41:10 +02:00
commit 0e863242ad

View file

@ -63,7 +63,7 @@ export default Ember.Controller.extend({
return; 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 }; const args = { stats: false };
args.include_post_count_for = this.get('controllers.topic.model.id'); args.include_post_count_for = this.get('controllers.topic.model.id');