File tree Expand file tree Collapse file tree
src/pages/TransactionMerge Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import isSearchTopmostFullScreenRoute from '@libs/Navigation/helpers/isSearchTop
2323import Navigation from '@libs/Navigation/Navigation' ;
2424import type { PlatformStackScreenProps } from '@libs/Navigation/PlatformStackNavigation/types' ;
2525import type { MergeTransactionNavigatorParamList } from '@libs/Navigation/types' ;
26+ import { findSelfDMReportID } from '@libs/ReportUtils' ;
2627import CONST from '@src/CONST' ;
2728import ONYXKEYS from '@src/ONYXKEYS' ;
2829import ROUTES from '@src/ROUTES' ;
@@ -63,7 +64,7 @@ function ConfirmationPage({route}: ConfirmationPageProps) {
6364 if ( ! targetTransaction || ! mergeTransaction || ! sourceTransaction ) {
6465 return ;
6566 }
66- const reportID = mergeTransaction . reportID ;
67+ const reportID = mergeTransaction . reportID === CONST . REPORT . UNREPORTED_REPORT_ID ? findSelfDMReportID ( ) : mergeTransaction . reportID ;
6768
6869 setIsMergingExpenses ( true ) ;
6970 mergeTransactionRequest ( {
You can’t perform that action at this time.
0 commit comments