FIX: Group members dropdown not displaying when switching between groups.

This commit is contained in:
Guo Xiang Tan 2018-03-22 08:01:37 +08:00
parent 43f63c435d
commit 0e973ef219
1 changed files with 3 additions and 3 deletions

View File

@ -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: {