diff --git a/src/libs/WorkspacesSettingsUtils.ts b/src/libs/WorkspacesSettingsUtils.ts index fa951d794def..6c57c2a6f99d 100644 --- a/src/libs/WorkspacesSettingsUtils.ts +++ b/src/libs/WorkspacesSettingsUtils.ts @@ -237,7 +237,7 @@ function getOwnershipChecksDisplayText( const subscription = changeOwner?.subscription as unknown as {ownerUserCount: number; totalUserCount: number}; const ownerOwesAmount = changeOwner?.ownerOwesAmount as unknown as {ownerEmail: string; amount: number; currency: string}; - switch (CONST.POLICY.OWNERSHIP_ERRORS.FAILED_TO_CLEAR_BALANCE) { + switch (error) { case CONST.POLICY.OWNERSHIP_ERRORS.AMOUNT_OWED: title = translate('workspace.changeOwner.amountOwedTitle'); text = translate('workspace.changeOwner.amountOwedText');