Skip to content

Scheduling infrastructure for absolutely everyone.

Enable embed namespacing again (#15783)

Hariom Balhara3f4a0eff7f7a
diff --git a/apps/web/components/eventtype/EventTypeSingleLayout.tsx b/apps/web/components/eventtype/EventTypeSingleLayout.tsx
index 548089af1a3..fa792584b36 100644
--- a/apps/web/components/eventtype/EventTypeSingleLayout.tsx
+++ b/apps/web/components/eventtype/EventTypeSingleLayout.tsx
@@ -390,7 +390,7 @@ function EventTypeSingleLayout({
StartIcon="code"
color="secondary"
variant="icon"
- namespace=""
+ namespace={eventType.slug}
tooltip={t("embed")}
tooltipSide="bottom"
tooltipOffset={4}
diff --git a/apps/web/modules/event-types/views/event-types-listing-view.tsx b/apps/web/modules/event-types/views/event-types-listing-view.tsx
index 16e18c15109..13bd2620dd6 100644
--- a/apps/web/modules/event-types/views/event-types-listing-view.tsx
+++ b/apps/web/modules/event-types/views/event-types-listing-view.tsx
@@ -530,7 +530,7 @@ export const EventTypeList = ({
{!isManagedEventType && (
<DropdownMenuItem className="outline-none">
<EventTypeEmbedButton
- namespace=""
+ namespace={type.slug}
as={DropdownItem}
type="button"
StartIcon="code"