diff --git a/packages/features/bookings/Booker/components/InstantBooking.tsx b/packages/features/bookings/Booker/components/InstantBooking.tsx index 19b3ad9112..6ff912428a 100644 --- a/packages/features/bookings/Booker/components/InstantBooking.tsx +++ b/packages/features/bookings/Booker/components/InstantBooking.tsx @@ -1,7 +1,6 @@ import type { BookerEvent } from "@calcom/features/bookings/types"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import type { User } from "@calcom/prisma/client"; -import { SchedulingType } from "@calcom/prisma/enums"; import { Button, UserAvatarGroupWithOrg } from "@calcom/ui"; interface IInstantBookingProps { @@ -24,10 +23,10 @@ export const InstantBooking = ({ onConnectNow, event }: IInstantBookingProps) => organization={{ slug: event.entity.orgSlug, name: event.entity.name || "", + logoUrl: event.entity.logoUrl ?? null, }} - users={ - event.schedulingType !== SchedulingType.ROUND_ROBIN ? event.users : event.users.slice(0, 3) - } + users={event.users.slice(0, 2)} + disableHref />
diff --git a/packages/ui/components/avatar/UserAvatarGroupWithOrg.tsx b/packages/ui/components/avatar/UserAvatarGroupWithOrg.tsx index 2d19532db7..d01c1ed220 100644 --- a/packages/ui/components/avatar/UserAvatarGroupWithOrg.tsx +++ b/packages/ui/components/avatar/UserAvatarGroupWithOrg.tsx @@ -1,5 +1,5 @@ import { useIsEmbed } from "@calcom/embed-core/embed-iframe"; -import { WEBAPP_URL } from "@calcom/lib/constants"; +import { getPlaceholderAvatar } from "@calcom/lib/defaultAvatarImage"; import { getUserAvatarUrl } from "@calcom/lib/getAvatarUrl"; import { getBookerBaseUrlSync } from "@calcom/lib/getBookerUrl/client"; import type { Team, User } from "@calcom/prisma/client"; @@ -9,25 +9,26 @@ type UserAvatarProps = Omit