Skip to content

Commit

Permalink
Update ReportUtils.js
Browse files Browse the repository at this point in the history
Co-authored-by: Vit Horacek <[email protected]>
  • Loading branch information
youssef-lr and mountiny authored Oct 15, 2023
1 parent cfb2c48 commit e22831e
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 @@ -3416,7 +3416,7 @@ function getMoneyRequestOptions(report, reportParticipants) {
if (
(isChatRoom(report) && participants.length > 0) ||
(hasMultipleParticipants && !isPolicyExpenseChat(report) && !isMoneyRequestReport(report)) ||
(isControlPolicyExpenseChat(report) && canRequestMoney(report, participants))
(isControlPolicyExpenseChat(report) && (report.isOwnPolicyExpenseChat || false))
) {
return [CONST.IOU.MONEY_REQUEST_TYPE.SPLIT];
}
Expand Down

0 comments on commit e22831e

Please sign in to comment.