- {metadataFormFields.fields.map(({ id: metadataFieldId }, i) => (
-
-
- {i === 0 && Key}
- (
-
-
-
- )}
- />
-
-
- {i === 0 && (
-
- )}
- (
-
-
-
- )}
- />
-
-
metadataFormFields.remove(i)}
- >
-
-
-
- ))}
-
- }
- size="xs"
- variant="outline_bg"
- onClick={() => metadataFormFields.append({ key: "", value: "" })}
- >
- Add Key
-
-
-
- >
- )}
-
-
-
+ />
+ )}
+ {isOrgIdentity && (
+ <>
+
+
-
-
-
+
+ {metadataFormFields.fields.map(({ id: metadataFieldId }, i) => (
+
+
+ {i === 0 && Key}
+ (
+
+
+
+ )}
+ />
+
+
+ {i === 0 && (
+
+ )}
+ (
+
+
+
+ )}
+ />
+
+
metadataFormFields.remove(i)}
+ >
+
+
+
+ ))}
+
+ }
+ size="xs"
+ variant="outline_bg"
+ onClick={() => metadataFormFields.append({ key: "", value: "" })}
+ >
+ Add Key
+
+
+
+ >
+ )}
+
+
+
+
+
);
};
diff --git a/frontend/src/pages/organization/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx b/frontend/src/pages/organization/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx
index db682e5ab..ad5f1839c 100644
--- a/frontend/src/pages/organization/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx
+++ b/frontend/src/pages/organization/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx
@@ -7,7 +7,7 @@ import { Link, useNavigate, useParams } from "@tanstack/react-router";
import { UpgradePlanModal } from "@app/components/license/UpgradePlanModal";
import { createNotification } from "@app/components/notifications";
import { OrgPermissionCan } from "@app/components/permissions";
-import { DeleteActionModal, PageHeader } from "@app/components/v2";
+import { DeleteActionModal, Modal, ModalContent, PageHeader } from "@app/components/v2";
import { ROUTE_PATHS } from "@app/const/routes";
import { OrgPermissionIdentityActions, OrgPermissionSubjects, useOrganization } from "@app/context";
import { useDeleteOrgIdentity, useGetOrgIdentityMembershipById } from "@app/hooks/api";
@@ -100,7 +100,17 @@ const Page = () => {
)}
-