Skip to content

Commit c1f52c2

Browse files
authored
fix: align feature opt-in toggle labels with enable/disable wording (calcom#27425)
1 parent b3430c8 commit c1f52c2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/modules/feature-opt-in/hooks/useOrganizationFeatureOptIn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function useOrganizationFeatureOptIn(): UseFeatureOptInResult {
8686
setAutoOptIn,
8787
isStateMutationPending: setStateMutation.isPending,
8888
isAutoOptInMutationPending: setAutoOptInMutation.isPending,
89-
toggleLabels: { enabled: t("allow"), disabled: t("block"), inherit: t("let_users_decide") },
89+
toggleLabels: { enabled: t("enable"), disabled: t("disable"), inherit: t("let_users_decide") },
9090
autoOptInDescription: t("auto_opt_in_experimental_description_org"),
9191
getBlockedWarning: getOrgBlockedWarning,
9292
isBlockedByHigherLevel: isOrgBlockedByHigherLevel,

apps/web/modules/feature-opt-in/hooks/useTeamFeatureOptIn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export function useTeamFeatureOptIn(teamId: number): UseFeatureOptInResult {
120120
setAutoOptIn,
121121
isStateMutationPending: setStateMutation.isPending,
122122
isAutoOptInMutationPending: setAutoOptInMutation.isPending,
123-
toggleLabels: { enabled: t("allow"), disabled: t("block"), inherit: t("let_users_decide") },
123+
toggleLabels: { enabled: t("enable"), disabled: t("disable"), inherit: t("let_users_decide") },
124124
autoOptInDescription: t("auto_opt_in_experimental_description_team"),
125125
getBlockedWarning,
126126
isBlockedByHigherLevel,

0 commit comments

Comments
 (0)