mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
FIX: Group members dropdown not displaying when switching between groups.
This commit is contained in:
parent
43f63c435d
commit
0e973ef219
@ -27,9 +27,9 @@ export default Ember.Controller.extend({
|
||||
return members && members.length > 0;
|
||||
},
|
||||
|
||||
@computed
|
||||
canManageGroup() {
|
||||
return this.currentUser && this.currentUser.canManageGroup(this.get('model'));
|
||||
@computed('model')
|
||||
canManageGroup(model) {
|
||||
return this.currentUser && this.currentUser.canManageGroup(model);
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
Loading…
Reference in New Issue
Block a user