fixes issue for channel change failure #6529 (#6705)

Этот коммит содержится в:
ftKnox
2017-06-22 08:38:07 -06:00
коммит произвёл Harrison Healey
родитель bc6a7d8810
Коммит b50e7dc7a9

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

@@ -16,7 +16,7 @@ function makeMapStateToProps() {
let fileCount = 0;
if (ownProps.post.file_ids) {
fileCount = ownProps.post.file_ids.length;
} else if (this.props.post.filenames) {
} else if (ownProps.post.filenames) {
fileCount = ownProps.post.filenames.length;
}