Skip to content

Commit

Permalink
Update OptionsListUtils.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 12, 2023
1 parent b2dc04a commit 85be547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ function createOption(accountIDs, personalDetails, report, reportActions = {}, {
result.isTaskReport = ReportUtils.isTaskReport(report);
result.shouldShowSubscript = ReportUtils.shouldReportShowSubscript(report);
result.isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(report);
result.isOwnPolicyExpenseChat = report.isOwnPolicyExpenseChat;
result.isOwnPolicyExpenseChat = report.isOwnPolicyExpenseChat || false;
result.allReportErrors = getAllReportErrors(report, reportActions);
result.brickRoadIndicator = !_.isEmpty(result.allReportErrors) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : '';
result.pendingAction = report.pendingFields ? report.pendingFields.addWorkspaceRoom || report.pendingFields.createChat : null;
Expand Down

0 comments on commit 85be547

Please sign in to comment.