+ )}
{/* // For Non-Cal indentities, we merge the values from DB and the user logging in,
so essentially there is no point in allowing them to disconnect, since when they log in they will get logged into the same account */}
{!isCALIdentityProvider && user.email !== user.identityProviderEmail && (
diff --git a/packages/features/users/components/UserTable/EditSheet/DisplayInfo.tsx b/packages/features/users/components/UserTable/EditSheet/DisplayInfo.tsx
index 4f52ba690b..9aa63237cb 100644
--- a/packages/features/users/components/UserTable/EditSheet/DisplayInfo.tsx
+++ b/packages/features/users/components/UserTable/EditSheet/DisplayInfo.tsx
@@ -1,4 +1,3 @@
-import { classNames } from "@calcom/lib";
import type { IconName } from "@calcom/ui";
import { Badge, Icon } from "@calcom/ui";
@@ -7,18 +6,29 @@ type DisplayInfoType = {
icon?: IconName;
value: string | string[];
coloredBadges?: boolean;
+ labelClassname?: string;
+ valueClassname?: string;
};
const badgeColors = ["warning", "success", "green", "gray", "blue", "red", "error"] as const;
-export function DisplayInfo({ label, icon, value, coloredBadges }: DisplayInfoType) {
+const valueDefaultClassname = "text-emphasis inline-flex items-center gap-1 font-medium leading-5";
+
+export function DisplayInfo({
+ label,
+ icon,
+ value,
+ coloredBadges,
+ labelClassname,
+ valueClassname = valueDefaultClassname,
+}: DisplayInfoType) {
const displayAsBadges = Array.isArray(value);
return (