diff --git a/src/components/DisplayNames/index.js b/src/components/DisplayNames/index.js index 72f89e6f1e22..d01b211188a9 100644 --- a/src/components/DisplayNames/index.js +++ b/src/components/DisplayNames/index.js @@ -88,7 +88,7 @@ class DisplayNames extends PureComponent { numberOfLines={1} ref={el => this.containerRef = el} > - {_.map(this.props.displayNamesToTooltips, ({displayName, tooltip}, index) => ( + {_.map(this.props.displayNamesWithTooltips, ({displayName, tooltip}, index) => ( - {index < this.props.displayNamesToTooltips.length - 1 && } + {index < this.props.displayNamesWithTooltips.length - 1 && } ))} - {this.props.displayNamesToTooltips.length > 1 && this.state.isEllipsisActive + {this.props.displayNamesWithTooltips.length > 1 && this.state.isEllipsisActive && (