File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments