Skip to content

Commit a0cad46

Browse files
committed
Select None on the accounting software modal will redirect to OD
1 parent aa28688 commit a0cad46

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)