File tree Expand file tree Collapse file tree
src/pages/workspace/accounting Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -504,8 +504,8 @@ function PolicyAccountingPage({policy}: PolicyAccountingPageProps) {
504504
505505 const [ chatTextLink , chatReportID ] = useMemo ( ( ) => {
506506 // If they have an onboarding specialist assigned display the following and link to the #admins room with the setup specialist.
507- if ( account ?. adminsRoomReportID ) {
508- return [ translate ( 'workspace.accounting.talkYourOnboardingSpecialist' ) , account ?. adminsRoomReportID ] ;
507+ if ( policy ?. chatReportIDAdmins ) {
508+ return [ translate ( 'workspace.accounting.talkYourOnboardingSpecialist' ) , policy ?. chatReportIDAdmins ] ;
509509 }
510510
511511 // If not, if they have an account manager assigned display the following and link to the DM with their account manager.
@@ -618,7 +618,7 @@ function PolicyAccountingPage({policy}: PolicyAccountingPageProps) {
618618 />
619619 < View style = { [ ! isLargeScreenWidth ? styles . flexColumn : styles . flexRow ] } >
620620 < Text style = { styles . textSupporting } > { translate ( 'workspace.accounting.needAnotherAccounting' ) } </ Text >
621- < TextLink onPress = { ( ) => Navigation . navigate ( ROUTES . REPORT_WITH_ID . getRoute ( chatReportID ) ) } > { chatTextLink } </ TextLink >
621+ < TextLink onPress = { ( ) => Navigation . navigate ( ROUTES . REPORT_WITH_ID . getRoute ( String ( chatReportID ) ) ) } > { chatTextLink } </ TextLink >
622622 </ View >
623623 </ View >
624624 ) }
You can’t perform that action at this time.
0 commit comments