Skip to content

Commit 346e6b6

Browse files
committed
Return 0 instead of an empty string
1 parent 4547f97 commit 346e6b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/actions/IOU.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2949,7 +2949,7 @@ function navigateToNextPage(iou, iouType, report, path = '') {
29492949
* @returns {String}
29502950
*/
29512951
function getIOUReportID(iou, route) {
2952-
return lodashGet(route, 'params.reportID') || lodashGet(iou, 'participants.0.reportID', '');
2952+
return lodashGet(route, 'params.reportID') || lodashGet(iou, 'participants.0.reportID', '0');
29532953
}
29542954

29552955
export {

0 commit comments

Comments
 (0)