Skip to content

Commit 975d3c5

Browse files
committed
fix prettier issues
1 parent d9d62c8 commit 975d3c5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/libs/ReportUtils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3362,7 +3362,10 @@ function getReasonAndReportActionThatRequiresAttention(
33623362

33633363
// Has a child report that is awaiting action (e.g. approve, pay, add bank account) from current user
33643364
const policy = getPolicy(optionOrReport.policyID);
3365-
if ((optionOrReport.hasOutstandingChildRequest === true || iouReportActionToApproveOrPay?.reportActionID) && (policy?.reimbursementChoice !== CONST.POLICY.REIMBURSEMENT_CHOICES.REIMBURSEMENT_NO ||!hasOnlyPendingTransactions)) {
3365+
if (
3366+
(optionOrReport.hasOutstandingChildRequest === true || iouReportActionToApproveOrPay?.reportActionID) &&
3367+
(policy?.reimbursementChoice !== CONST.POLICY.REIMBURSEMENT_CHOICES.REIMBURSEMENT_NO || !hasOnlyPendingTransactions)
3368+
) {
33663369
return {
33673370
reason: CONST.REQUIRES_ATTENTION_REASONS.HAS_CHILD_REPORT_AWAITING_ACTION,
33683371
reportAction: iouReportActionToApproveOrPay,

src/libs/SidebarUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ function getOptionData({
515515
result.hasParentAccess = report.hasParentAccess;
516516
result.isConciergeChat = isConciergeChatReport(report);
517517
result.participants = report.participants;
518-
result.shouldShowGreenDot = result.brickRoadIndicator !== CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR && requiresAttentionFromCurrentUser(report, parentReportAction)
518+
result.shouldShowGreenDot = result.brickRoadIndicator !== CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR && requiresAttentionFromCurrentUser(report, parentReportAction);
519519

520520
const hasMultipleParticipants = participantPersonalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat || isExpenseReport(report);
521521
const subtitle = getChatRoomSubtitle(report);

0 commit comments

Comments
 (0)