Skip to content

Commit

Permalink
EPMRPP-96935 || Code review fixes - 4
Browse files Browse the repository at this point in the history
  • Loading branch information
iso9000t committed Nov 26, 2024
1 parent 3413e2e commit a811247
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ export class InviteUserModal extends Component {
const foundUser = foundUsers?.content.find(({ email }) => email === data.email);
if (foundUser) {
userData.user = makeOptions(data.project, false)({ content: [foundUser] })[0];
} else {
userData.user = {
userLogin: data.email,
externalUser: true,
};
}
}

Expand Down

0 comments on commit a811247

Please sign in to comment.