Skip to content

Scheduling infrastructure for absolutely everyone.

Show button even when no event types (#2214)

Alex van Andela8e137a55c79
diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx
index ba6d27044d8..20b273d5ff0 100644
--- a/apps/web/pages/event-types/index.tsx
+++ b/apps/web/pages/event-types/index.tsx
@@ -501,8 +501,7 @@ const EventTypesPage = () => {
heading={t("event_types_page_title")}
subtitle={t("event_types_page_subtitle")}
CTA={
- query.data &&
- query.data.eventTypeGroups.length !== 0 && (
+ query.data && (
<CreateEventTypeButton
canAddEvents={query.data.viewer.canAddEvents}
options={query.data.profiles}