From 346e6b62e5fe48078bd8266e5648e4e9bb9bd78d Mon Sep 17 00:00:00 2001 From: Tim Golen Date: Thu, 9 Nov 2023 10:13:45 -0700 Subject: [PATCH] Return 0 instead of an empty string --- src/libs/actions/IOU.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js index acdbc200842b..8c34787f13f0 100644 --- a/src/libs/actions/IOU.js +++ b/src/libs/actions/IOU.js @@ -2949,7 +2949,7 @@ function navigateToNextPage(iou, iouType, report, path = '') { * @returns {String} */ function getIOUReportID(iou, route) { - return lodashGet(route, 'params.reportID') || lodashGet(iou, 'participants.0.reportID', ''); + return lodashGet(route, 'params.reportID') || lodashGet(iou, 'participants.0.reportID', '0'); } export {