FIX: loading members on group page was broken
This commit is contained in:
parent
47e25648df
commit
5dab5ada1c
|
@ -11,7 +11,7 @@ export default Ember.Controller.extend({
|
|||
|
||||
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.setProperties({
|
||||
loading: false,
|
||||
|
|
Loading…
Reference in New Issue