diff --git a/src/components/LHNOptionsList/OptionRowLHN.js b/src/components/LHNOptionsList/OptionRowLHN.js index 9c2ced6d896c..8e11458446d1 100644 --- a/src/components/LHNOptionsList/OptionRowLHN.js +++ b/src/components/LHNOptionsList/OptionRowLHN.js @@ -96,7 +96,8 @@ const OptionRowLHN = (props) => { const focusedBackgroundColor = styles.sidebarLinkActive.backgroundColor; const avatarTooltips = !optionItem.isChatRoom && !optionItem.isArchivedRoom ? _.pluck(optionItem.displayNamesWithTooltips, 'tooltip') : undefined; - const shouldShowGreenDotIndicator = optionItem.isUnreadWithMention || (optionItem.hasOutstandingIOU && !optionItem.isIOUReportOwner); + const hasBrickError = optionItem.brickRoadIndicator === CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR; + const shouldShowGreenDotIndicator = !hasBrickError && (optionItem.isUnreadWithMention || (optionItem.hasOutstandingIOU && !optionItem.isIOUReportOwner)); return ( { ) : null} - {optionItem.brickRoadIndicator === CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR && ( + {hasBrickError && ( )} @@ -217,6 +218,14 @@ const OptionRowLHN = (props) => { style={[styles.flexRow, styles.alignItemsCenter]} accessible={false} > + {shouldShowGreenDotIndicator && ( + + )} {optionItem.hasDraftComment && ( { )} - {shouldShowGreenDotIndicator && } - {optionItem.isPinned && ( + {!shouldShowGreenDotIndicator && optionItem.isPinned && (