FIX: Do not load group members when user can't see it.
This commit is contained in:
parent
f061aee818
commit
40254bae1b
|
@ -42,7 +42,7 @@ const Group = RestModel.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
findMembers(params) {
|
findMembers(params) {
|
||||||
if (Ember.isEmpty(this.name)) {
|
if (Ember.isEmpty(this.name) || !this.can_see_members) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue