diff --git a/apps/web/components/AppListCard.tsx b/apps/web/components/AppListCard.tsx index 3887e29be4..51cc21592d 100644 --- a/apps/web/components/AppListCard.tsx +++ b/apps/web/components/AppListCard.tsx @@ -3,9 +3,10 @@ import type { ReactNode } from "react"; import { useEffect, useRef, useState } from "react"; import { z } from "zod"; +import type { CredentialOwner } from "@calcom/app-store/types"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery"; -import { Badge, ListItemText } from "@calcom/ui"; +import { Badge, ListItemText, Avatar } from "@calcom/ui"; import { AlertCircle } from "@calcom/ui/components/icon"; type ShouldHighlight = { slug: string; shouldHighlight: true } | { shouldHighlight?: never; slug?: never }; @@ -19,6 +20,7 @@ type AppListCardProps = { isTemplate?: boolean; invalidCredential?: boolean; children?: ReactNode; + credentialOwner?: CredentialOwner; } & ShouldHighlight; const schema = z.object({ hl: z.string().optional() }); @@ -36,6 +38,7 @@ export default function AppListCard(props: AppListCardProps) { isTemplate, invalidCredential, children, + credentialOwner, } = props; const { data: { hl }, @@ -65,7 +68,7 @@ export default function AppListCard(props: AppListCardProps) { return (
{team.name}{" "} + {isInstalled && + `(${t("installed")})`}
+