diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx index 69846ff3be..8b1b077a7b 100644 --- a/apps/web/pages/event-types/index.tsx +++ b/apps/web/pages/event-types/index.tsx @@ -78,7 +78,10 @@ const Item = ({ type, group, readOnly }: any) => { return (
(
  • -
    - {types.length > 1 && ( +
    + {types.length > 1 && !type.$disabled && ( <> - + + + +
    {" "} {t("edit")} @@ -294,7 +312,10 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL type="button" color="minimal" size="sm" - className="w-full rounded-none" + className={classNames( + "w-full rounded-none", + type.$disabled && " pointer-events-none cursor-not-allowed opacity-30" + )} data-testid={"event-type-duplicate-" + type.id} StartIcon={DuplicateIcon} onClick={() => openModal(group, type)}> @@ -304,7 +325,10 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL