From b50e7dc7a9906cc8645a48ae3b019a8814b4e23b Mon Sep 17 00:00:00 2001 From: ftKnox Date: Thu, 22 Jun 2017 08:38:07 -0600 Subject: fixes issue for channel change failure #6529 (#6705) --- webapp/components/file_attachment_list/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/file_attachment_list') diff --git a/webapp/components/file_attachment_list/index.js b/webapp/components/file_attachment_list/index.js index 4081e4220..b9016defb 100644 --- a/webapp/components/file_attachment_list/index.js +++ b/webapp/components/file_attachment_list/index.js @@ -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; } -- cgit v1.2.3-1-g7c22