diff --git a/apps/web/pages/v2/event-types/index.tsx b/apps/web/pages/v2/event-types/index.tsx index b8528980c7..59ad825fa5 100644 --- a/apps/web/pages/v2/event-types/index.tsx +++ b/apps/web/pages/v2/event-types/index.tsx @@ -32,7 +32,6 @@ import EventTypeDescription from "@components/eventtype/EventTypeDescription"; import SkeletonLoader from "@components/eventtype/SkeletonLoader"; import Avatar from "@components/ui/Avatar"; import AvatarGroup from "@components/ui/AvatarGroup"; -import NoCalendarConnectedAlert from "@components/ui/NoCalendarConnectedAlert"; import { TRPCClientError } from "@trpc/react"; @@ -73,6 +72,11 @@ const Item = ({ type, group, readOnly }: { type: EventType; group: EventTypeGrou {`/${group.profile.slug}/${type.slug}`} + {type.hidden && ( + + {t("hidden") as string} + + )} {readOnly && ( {t("readonly") as string} @@ -259,14 +263,9 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL )}
- {type.hidden && ( - - {t("hidden")} - - )}
{ const { t } = useLocale(); - return (
@@ -583,9 +581,6 @@ const EventTypesPage = () => { className="mb-4" /> )} - - - {data.eventTypeGroups.map((group, index) => ( {/* hide list heading when there is only one (current user) */}