fix: align feature opt-in toggle labels with enable/disable wording (#27425)

This commit is contained in:
Eunjae Lee
2026-01-30 10:11:19 +00:00
committed by GitHub
parent b3430c8efc
commit c1f52c219d
2 changed files with 2 additions and 2 deletions
@@ -86,7 +86,7 @@ export function useOrganizationFeatureOptIn(): UseFeatureOptInResult {
setAutoOptIn,
isStateMutationPending: setStateMutation.isPending,
isAutoOptInMutationPending: setAutoOptInMutation.isPending,
toggleLabels: { enabled: t("allow"), disabled: t("block"), inherit: t("let_users_decide") },
toggleLabels: { enabled: t("enable"), disabled: t("disable"), inherit: t("let_users_decide") },
autoOptInDescription: t("auto_opt_in_experimental_description_org"),
getBlockedWarning: getOrgBlockedWarning,
isBlockedByHigherLevel: isOrgBlockedByHigherLevel,
@@ -120,7 +120,7 @@ export function useTeamFeatureOptIn(teamId: number): UseFeatureOptInResult {
setAutoOptIn,
isStateMutationPending: setStateMutation.isPending,
isAutoOptInMutationPending: setAutoOptInMutation.isPending,
toggleLabels: { enabled: t("allow"), disabled: t("block"), inherit: t("let_users_decide") },
toggleLabels: { enabled: t("enable"), disabled: t("disable"), inherit: t("let_users_decide") },
autoOptInDescription: t("auto_opt_in_experimental_description_team"),
getBlockedWarning,
isBlockedByHigherLevel,