+
- {t("hide_from_profile")}
+ {formMethods.watch("hidden") ? t("show_eventtype_on_profile") : t("hide_from_profile")}
{
- formMethods.setValue("hidden", e);
+ formMethods.setValue("hidden", !e);
}}
/>
diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx
index d292055181..453bb5f4f8 100644
--- a/apps/web/pages/event-types/index.tsx
+++ b/apps/web/pages/event-types/index.tsx
@@ -42,6 +42,8 @@ import {
CreateButton,
HorizontalTabs,
HeadSeo,
+ Skeleton,
+ Label,
} from "@calcom/ui";
import {
ArrowDown,
@@ -416,7 +418,8 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL
{!isManagedEventType && (
<>
{type.hidden &&
{t("hidden")}}
-
+
-
>
)}
+
+ {!isManagedEventType && (
+
+
+ {type.hidden ? t("show_eventtype_on_profile") : t("hide_from_profile")}
+
+ {
+ setHiddenMutation.mutate({ id: type.id, hidden: !type.hidden });
+ }}
+ />
+
+ )}