Update mattermost-redux to master (#6982)

Этот коммит содержится в:
Joram Wilander
2017-07-20 08:56:23 -04:00
коммит произвёл Harrison Healey
родитель 9731eb4764
Коммит 5ae701d133
5 изменённых файлов: 7 добавлений и 6 удалений

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

@@ -11,7 +11,8 @@ import FileAttachmentList from './file_attachment_list.jsx';
function makeMapStateToProps() {
const selectFilesForPost = makeGetFilesForPost();
return function mapStateToProps(state, ownProps) {
const fileInfos = selectFilesForPost(state, ownProps.post);
const postId = ownProps.post ? ownProps.post.id : '';
const fileInfos = selectFilesForPost(state, postId);
let fileCount = 0;
if (ownProps.post.file_ids) {