Enabled name display settings in more places

Этот коммит содержится в:
Reed Garmsen
2015-11-23 17:14:13 -08:00
родитель 62c96514bf
Коммит 478af4bf75
8 изменённых файлов: 52 добавлений и 44 удалений

Просмотреть файл

@@ -87,6 +87,10 @@ export default class Post extends React.Component {
return true;
}
if (nextProps.displayNameType !== this.props.displayNameType) {
return true;
}
if (this.getCommentCount(nextProps) !== this.getCommentCount(this.props)) {
return true;
}
@@ -224,5 +228,6 @@ Post.propTypes = {
sameRoot: React.PropTypes.bool,
hideProfilePic: React.PropTypes.bool,
isLastComment: React.PropTypes.bool,
shouldHighlight: React.PropTypes.bool
shouldHighlight: React.PropTypes.bool,
displayNameType: React.PropTypes.string
};