Skip to content

Commit 19cbf52

Browse files
committed
getCustomUnitRateID handle UNREPORTED_REPORT_ID
1 parent 5105f10 commit 19cbf52

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/libs/DistanceRequestUtils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ function getCustomUnitRateID({
295295
return customUnitRateID;
296296
}
297297

298+
if (reportID === CONST.REPORT.UNREPORTED_REPORT_ID) {
299+
return customUnitRateID;
300+
}
301+
298302
if (isEmptyObject(policy)) {
299303
return customUnitRateID;
300304
}

0 commit comments

Comments
 (0)