Update mattermost-redux to master (#6982)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
9731eb4764
Коммит
5ae701d133
@@ -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) {
|
||||
|
||||
Ссылка в новой задаче
Block a user