From 79fd1bd76f2f34dda5006ad978450b1328685c3e Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 9 Sep 2022 00:26:51 +0200 Subject: [PATCH] Move hidden label to toggle on events page (#4320) --- apps/web/pages/v2/event-types/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/pages/v2/event-types/index.tsx b/apps/web/pages/v2/event-types/index.tsx index 9428cfe527..0b98f0dd7a 100644 --- a/apps/web/pages/v2/event-types/index.tsx +++ b/apps/web/pages/v2/event-types/index.tsx @@ -72,11 +72,6 @@ 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} @@ -263,9 +258,14 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL )}
+ {type.hidden && ( + + {t("hidden")} + + )}