Fixed role validation when inviting new users

no issue

- the `role` argument was not being passed to the `validateRole` method when changing roles
This commit is contained in:
Kevin Ansfield 2021-04-12 11:15:09 +01:00
parent 519ed564b8
commit c3c383ae69

View File

@ -18,7 +18,7 @@ export default class GhRoleSelectionComponent extends Component {
async setRole(roleName) {
const role = this.roles.findBy('name', roleName);
this.args.setRole(role);
return this.validateRole();
return this.validateRole(role);
}
@task