import type { TFunction } from "next-i18next"; import type { CalendarEvent } from "@calcom/types/Calendar"; import { Info } from "./Info"; export const AppsStatus = (props: { calEvent: CalendarEvent; t: TFunction }) => { const { t } = props; if (!props.calEvent.appsStatus) return null; return ( {props.calEvent.appsStatus.map((status) => (
  • {status.appName}{" "} {status.success >= 1 && `✅ ${status.success > 1 ? `(x${status.success})` : ""}`} {status.failures >= 1 && `❌ ${status.failures > 1 ? `(x${status.failures})` : ""}`} {status.warnings && status.warnings.length >= 1 && ( )} {status.errors.length >= 1 && ( )}
  • ))} } withSpacer /> ); };