Skip to content

Commit

Permalink
use ||
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonals committed Aug 8, 2023
1 parent 787ad6c commit f2ac9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ function updateReportPreview(iouReport, reportPreviewAction, comment = '') {
type: CONST.REPORT.MESSAGE.TYPE.COMMENT,
},
],
childLastMoneyRequestComment: comment ? comment : reportPreviewAction.childLastMoneyRequestComment,
childLastMoneyRequestComment: comment || reportPreviewAction.childLastMoneyRequestComment,
childMoneyRequestCount: reportPreviewAction.childMoneyRequestCount + 1,
};
}
Expand Down

0 comments on commit f2ac9f7

Please sign in to comment.