FIX: set `null` to group if `groupAttrs` param is not available. (#14795)
Because of this bug "all groups" option in the group selector dropdown was not selectable on the user directory page.
This commit is contained in:
parent
4f14e012a7
commit
2b848213f7
|
@ -83,7 +83,7 @@ export default Controller.extend({
|
|||
@action
|
||||
groupChanged(_, groupAttrs) {
|
||||
// First param is the group name, which include none or 'all groups'. Ignore this and look at second param.
|
||||
this.set("group", groupAttrs.id);
|
||||
this.set("group", groupAttrs?.id);
|
||||
},
|
||||
|
||||
@action
|
||||
|
|
Loading…
Reference in New Issue