FIX: allows to change a user group notification level (#10369)
The current code has an ambiguous name of "user" which is actually not a user model, the real user model is accessible on the model key of user.
This commit is contained in:
parent
fb91320cba
commit
4593bb60c5
|
@ -60,7 +60,7 @@ export default Controller.extend({
|
|||
|
||||
actions: {
|
||||
changeGroupNotificationLevel(notificationLevel) {
|
||||
this.group.setNotification(notificationLevel, this.get("user.id"));
|
||||
this.group.setNotification(notificationLevel, this.get("user.model.id"));
|
||||
},
|
||||
archive() {
|
||||
this.bulkOperation("archive_messages");
|
||||
|
|
Loading…
Reference in New Issue