revert one more type

This commit is contained in:
jenny-s51 2021-04-22 16:11:03 -04:00
parent 7b22ac4659
commit 58d3052fd8

View file

@ -116,7 +116,7 @@ export const AssociatedRolesModal = (props: AssociatedRolesModalProps) => {
)!.clientId!) )!.clientId!)
); );
return alphabetize(rolesList).filter((role: Role) => { return alphabetize(rolesList).filter((role: RoleRepresentation) => {
return ( return (
existingAdditionalRoles.find( existingAdditionalRoles.find(
(existing: RoleRepresentation) => existing.name === role.name (existing: RoleRepresentation) => existing.name === role.name