FIX: loading members on group page was broken

This commit is contained in:
Arpit Jalan 2015-10-27 09:20:49 +05:30
parent 47e25648df
commit 5dab5ada1c
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export default Ember.Controller.extend({
this.set("loading", true); this.set("loading", true);
Discourse.Group.loadMembers(this.get("name"), this.get("model.members.length"), this.get("limit")).then(result => { Discourse.Group.loadMembers(this.get("model.name"), this.get("model.members.length"), this.get("limit")).then(result => {
this.get("model.members").addObjects(result.members.map(member => Discourse.User.create(member))); this.get("model.members").addObjects(result.members.map(member => Discourse.User.create(member)));
this.setProperties({ this.setProperties({
loading: false, loading: false,