Show button even when no event types (#2214)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user