Skip to content

Commit

Permalink
Merge pull request #43714 from Expensify/chirag-test2
Browse files Browse the repository at this point in the history
Typescript check fix
  • Loading branch information
puneetlath authored Jun 13, 2024
2 parents d565bb1 + 099c17d commit 6c3f605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ function createOption(
result.isIOUReportOwner = ReportUtils.isIOUOwnedByCurrentUser(result);
result.iouReportAmount = ReportUtils.getMoneyRequestSpendBreakdown(result).totalDisplaySpend;

if (!hasMultipleParticipants && !ReportUtils.isGroupChat(report) && !ReportUtils.isChatRoom(report)) {
if (!hasMultipleParticipants && (!report || (report && !ReportUtils.isGroupChat(report) && !ReportUtils.isChatRoom(report)))) {
result.login = personalDetail?.login;
result.accountID = Number(personalDetail?.accountID);
result.phoneNumber = personalDetail?.phoneNumber;
Expand Down

0 comments on commit 6c3f605

Please sign in to comment.