Skip to content

Commit

Permalink
fix(runjob): Fixing security group matching by name (#7164)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmquach authored and anotherchrisberry committed Jun 28, 2019
1 parent 4422b34 commit cfe322c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class TitusSecurityGroupPicker extends React.Component<
return match ? match.name : groupId;
});

const matchedGroups: ISecurityGroup[] = groupsToEdit
const matchedGroups: ISecurityGroup[] = oldGroupNames
.map((groupId: string) => {
const securityGroup: any = availableGroups.find(o => o.id === groupId || o.name === groupId);
return securityGroup ? securityGroup.name : null;
Expand Down

0 comments on commit cfe322c

Please sign in to comment.