diff --git a/services/web/frontend/js/features/subscription/components/dashboard/reactivate-subscription.tsx b/services/web/frontend/js/features/subscription/components/dashboard/reactivate-subscription.tsx index 60f745ea41..faf11245c4 100644 --- a/services/web/frontend/js/features/subscription/components/dashboard/reactivate-subscription.tsx +++ b/services/web/frontend/js/features/subscription/components/dashboard/reactivate-subscription.tsx @@ -3,6 +3,7 @@ import { postJSON } from '../../../../infrastructure/fetch-json' import { reactivateSubscriptionUrl } from '../../data/subscription-url' import useAsync from '../../../../shared/hooks/use-async' import { useLocation } from '../../../../shared/hooks/use-location' +import getMeta from '../../../../utils/meta' function ReactivateSubscription() { const { t } = useTranslation() @@ -17,6 +18,11 @@ function ReactivateSubscription() { location.reload() } + // Don't show the button to reactivate the subscription for managed users + if (getMeta('ol-cannot-reactivate-subscription')) { + return null + } + return (