From 40c589eced58db772e6a8e34bb8045eef091a618 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 2 Oct 2024 19:21:44 +0530 Subject: [PATCH] fix: update not getting the tag in identity modal --- .../components/IdentitySection/IdentityModal.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal.tsx b/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal.tsx index 5ef293b97..20eb49622 100644 --- a/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal.tsx +++ b/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal.tsx @@ -89,6 +89,7 @@ export const IdentityModal = ({ popUp, handlePopUpToggle }: Props) => { identityId: string; name: string; role: string; + metadata?: { key: string; value: string }[]; customRole: { name: string; slug: string; @@ -100,7 +101,8 @@ export const IdentityModal = ({ popUp, handlePopUpToggle }: Props) => { if (identity) { reset({ name: identity.name, - role: identity?.customRole?.slug ?? identity.role + role: identity?.customRole?.slug ?? identity.role, + metadata: identity.metadata }); } else { reset({