Skip to content

Commit

Permalink
identity provider code fix (#1335)
Browse files Browse the repository at this point in the history
when generating the table data in team management, we used to already map the "user.idp.code" into an identityProvider variable in a user object. then we tried to map it again which would result in an undefined value. removed the previous map that we used to do, so that if we wanted in the future, we could change what is displayed in the identity provider column to be more human readable. i.e., using the display name IDIR or Basic BCeID vs idir or bceid-basic.
  • Loading branch information
jasonchung1871 authored Apr 30, 2024
1 parent 5567f07 commit fe9f455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/frontend/src/components/forms/manage/TeamManagement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default {
{ title: i18n.t('trans.teamManagement.username'), key: 'username' },
{
title: i18n.t('trans.teamManagement.identityProvider'),
key: 'identityProvider',
key: 'identityProvider.code',
},
];
return headers
Expand Down Expand Up @@ -186,7 +186,7 @@ export default {
fullName: user.fullName,
userId: user.userId,
username: user.username,
identityProvider: user.idp?.code,
identityProvider: user.idp,
};
this.roleList
.map((role) => role.code)
Expand Down

0 comments on commit fe9f455

Please sign in to comment.