File tree Expand file tree Collapse file tree
src/pages/iou/request/step/IOURequestStepDistanceGPS Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import useOnyx from '@hooks/useOnyx';
99import usePermissions from '@hooks/usePermissions' ;
1010import usePersonalPolicy from '@hooks/usePersonalPolicy' ;
1111import usePolicy from '@hooks/usePolicy' ;
12+ import useSelfDMReport from '@hooks/useSelfDMReport' ;
1213import useShowNotFoundPageInIOUStep from '@hooks/useShowNotFoundPageInIOUStep' ;
1314import useThemeStyles from '@hooks/useThemeStyles' ;
1415import { setGPSTransactionDraftData } from '@libs/actions/IOU' ;
@@ -53,6 +54,7 @@ function IOURequestStepDistanceGPS({
5354 const [ quickAction ] = useOnyx ( ONYXKEYS . NVP_QUICK_ACTION_GLOBAL_CREATE , { canBeMissing : true } ) ;
5455 const [ policyRecentlyUsedCurrencies ] = useOnyx ( ONYXKEYS . RECENTLY_USED_CURRENCIES , { canBeMissing : true } ) ;
5556 const [ transactionViolations ] = useOnyx ( ONYXKEYS . COLLECTION . TRANSACTION_VIOLATIONS , { canBeMissing : true } ) ;
57+ const selfDMReport = useSelfDMReport ( ) ;
5658
5759 const isEditing = action === CONST . IOU . ACTION . EDIT ;
5860 const isCreatingNewRequest = ! isEditing ;
@@ -113,6 +115,7 @@ function IOURequestStepDistanceGPS({
113115 privateIsArchived : reportNameValuePairs ?. private_isArchived ,
114116 gpsCoordinates,
115117 gpsDistance : distance ,
118+ selfDMReport,
116119 } ) ;
117120 } ;
118121
You can’t perform that action at this time.
0 commit comments