Merge pull request #1409 from mattermost/plt-961

PLT-961 Rename areStatesEqual to areObjectsEqual and make it more comprehensive and accurate.
Этот коммит содержится в:
Corey Hulen
2015-11-12 10:12:34 -08:00
родитель 6f7b7169b2 50815f9be7
Коммит b6049721f9
28 изменённых файлов: 138 добавлений и 47 удалений

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

@@ -242,7 +242,7 @@ export default class PostsView extends React.Component {
if (this.props.messageSeparatorTime !== nextProps.messageSeparatorTime) {
return true;
}
if (!Utils.areStatesEqual(this.props.postList, nextProps.postList)) {
if (!Utils.areObjectsEqual(this.props.postList, nextProps.postList)) {
return true;
}