File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,9 @@ Onyx.connect({
266
266
callback : ( value ) => ( allReportDraftComments = value ) ,
267
267
} ) ;
268
268
269
+ let environmentURL : string ;
270
+ Environment . getEnvironmentURL ( ) . then ( ( url : string ) => ( environmentURL = url ) ) ;
271
+
269
272
registerPaginationConfig ( {
270
273
initialCommand : WRITE_COMMANDS . OPEN_REPORT ,
271
274
previousCommand : READ_COMMANDS . GET_OLDER_ACTIONS ,
@@ -3370,8 +3373,8 @@ function completeOnboarding(
3370
3373
const taskDescription =
3371
3374
typeof task . description === 'function'
3372
3375
? task . description ( {
3373
- adminsRoomLink : `${ CONFIG . EXPENSIFY . NEW_EXPENSIFY_URL } ${ ROUTES . REPORT_WITH_ID . getRoute ( adminsChatReportID ?? '-1' ) } ` ,
3374
- workspaceLink : `${ CONFIG . EXPENSIFY . NEW_EXPENSIFY_URL } ${ ROUTES . WORKSPACE_INITIAL . getRoute ( onboardingPolicyID ?? '-1' ) } ` ,
3376
+ adminsRoomLink : `${ environmentURL } / ${ ROUTES . REPORT_WITH_ID . getRoute ( adminsChatReportID ?? '-1' ) } ` ,
3377
+ workspaceLink : `${ environmentURL } / ${ ROUTES . WORKSPACE_INITIAL . getRoute ( onboardingPolicyID ?? '-1' ) } ` ,
3375
3378
} )
3376
3379
: task . description ;
3377
3380
const currentTask = ReportUtils . buildOptimisticTaskReport (
You can’t perform that action at this time.
0 commit comments