Skip to content

Commit 26b0ef4

Browse files
authored
Merge pull request Expensify#66936 from dukenv0307/fix/66926
[CP Staging] Select None on the accounting software modal will redirect to OD
2 parents 8f2b33d + a0cad46 commit 26b0ef4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/OnboardingUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function shouldOnboardingRedirectToOldDot(companySize: OnboardingCompanySize | u
1818
}
1919

2020
// Check if the integration is supported in NewDot
21-
const isSupportedIntegration = (!!userReportedIntegration && supportedIntegrationsInNewDot.includes(userReportedIntegration)) || userReportedIntegration === null;
21+
const isSupportedIntegration = (!!userReportedIntegration && supportedIntegrationsInNewDot.includes(userReportedIntegration)) || userReportedIntegration === undefined;
2222

2323
// Don't redirect if integration is supported and company size is MICRO or SMALL
2424
const isMicroOrSmallCompany = companySize === CONST.ONBOARDING_COMPANY_SIZE.MICRO || companySize === CONST.ONBOARDING_COMPANY_SIZE.SMALL;

0 commit comments

Comments
 (0)