Show button even when no event types (#2214)
parent
91a6e199a1
commit
a8e137a55c
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue