From fe9f455f3d9d01ebca3097e7e28bb7a16fb79e2e Mon Sep 17 00:00:00 2001 From: jasonchung1871 <101672465+jasonchung1871@users.noreply.github.com> Date: Tue, 30 Apr 2024 13:29:52 -0700 Subject: [PATCH] identity provider code fix (#1335) 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. --- app/frontend/src/components/forms/manage/TeamManagement.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/frontend/src/components/forms/manage/TeamManagement.vue b/app/frontend/src/components/forms/manage/TeamManagement.vue index 3d2f42df7..a4bc4ddb2 100644 --- a/app/frontend/src/components/forms/manage/TeamManagement.vue +++ b/app/frontend/src/components/forms/manage/TeamManagement.vue @@ -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 @@ -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)