File tree Expand file tree Collapse file tree
pages/OnboardingAccounting Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5396,7 +5396,6 @@ const CONST = {
53965396 ONBOARDING_SIGNUP_QUALIFIERS : { ...signupQualifiers } ,
53975397 ONBOARDING_INVITE_TYPES : { ...onboardingInviteTypes } ,
53985398 ONBOARDING_COMPANY_SIZE : { ...onboardingCompanySize } ,
5399- NEW_DOT_SUPPORTED_COMPANY_SIZES : [ onboardingCompanySize . MICRO , onboardingCompanySize . SMALL ] as string [ ] ,
54005399 ACTIONABLE_TRACK_EXPENSE_WHISPER_MESSAGE : 'What would you like to do with this expense?' ,
54015400 ONBOARDING_ACCOUNTING_MAPPING ,
54025401 ONBOARDING_MESSAGES : {
Original file line number Diff line number Diff line change @@ -4057,7 +4057,7 @@ function completeOnboarding({
40574057 selfDMCreatedReportActionID : selfDMParameters . createdReportActionID ,
40584058 } ;
40594059
4060- if ( companySize && ! CONST . NEW_DOT_SUPPORTED_COMPANY_SIZES . includes ( companySize ) && getPlatform ( ) !== CONST . PLATFORM . DESKTOP ) {
4060+ if ( companySize && companySize !== CONST . ONBOARDING_COMPANY_SIZE . MICRO && getPlatform ( ) !== CONST . PLATFORM . DESKTOP ) {
40614061 optimisticData . push ( {
40624062 onyxMethod : Onyx . METHOD . MERGE ,
40634063 key : ONYXKEYS . NVP_ONBOARDING ,
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function BaseOnboardingAccounting({shouldUseNativeStyles}: BaseOnboardingAccount
200200 userReportedIntegration,
201201 } ) ;
202202
203- if ( ! CONST . NEW_DOT_SUPPORTED_COMPANY_SIZES . includes ( onboardingCompanySize ) && getPlatform ( ) !== CONST . PLATFORM . DESKTOP ) {
203+ if ( onboardingCompanySize !== CONST . ONBOARDING_COMPANY_SIZE . MICRO && getPlatform ( ) !== CONST . PLATFORM . DESKTOP ) {
204204 if ( CONFIG . IS_HYBRID_APP ) {
205205 return ;
206206 }
@@ -228,7 +228,7 @@ function BaseOnboardingAccounting({shouldUseNativeStyles}: BaseOnboardingAccount
228228 } ) ;
229229 } }
230230 isLoading = { isLoading }
231- isDisabled = { isOffline && ! CONST . NEW_DOT_SUPPORTED_COMPANY_SIZES . includes ( onboardingCompanySize ?? '' ) && CONFIG . IS_HYBRID_APP }
231+ isDisabled = { isOffline && onboardingCompanySize !== CONST . ONBOARDING_COMPANY_SIZE . MICRO && CONFIG . IS_HYBRID_APP }
232232 pressOnEnter
233233 />
234234 </ >
You can’t perform that action at this time.
0 commit comments