diff --git a/src/pages/workspace/upgrade/WorkspaceUpgradePage.tsx b/src/pages/workspace/upgrade/WorkspaceUpgradePage.tsx index 958ab0d0f412..673b77d9c9a1 100644 --- a/src/pages/workspace/upgrade/WorkspaceUpgradePage.tsx +++ b/src/pages/workspace/upgrade/WorkspaceUpgradePage.tsx @@ -28,8 +28,8 @@ function WorkspaceUpgradePage({route}: WorkspaceUpgradePageProps) { const {translate} = useLocalize(); const [policy] = useOnyx(`policy_${policyID}`); const {isOffline} = useNetwork(); - const canPerformUpgrade = !!feature && !!policy && PolicyUtils.isPolicyAdmin(policy); + const canPerformUpgrade = !!feature && !!policy && PolicyUtils.isPolicyAdmin(policy); const isUpgraded = React.useMemo(() => PolicyUtils.isControlPolicy(policy), [policy]); const upgradeToCorporate = () => {