summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorftKnox <ftKnox@users.noreply.github.com>2017-06-22 08:38:07 -0600
committerHarrison Healey <harrisonmhealey@gmail.com>2017-06-22 10:38:07 -0400
commitb50e7dc7a9906cc8645a48ae3b019a8814b4e23b (patch)
tree4a38f2ca6e147df619d75d09fd86bf867d69c19e /webapp
parentbc6a7d881023cf3b6c8927c1c87cae49ccd3a9b9 (diff)
downloadchat-b50e7dc7a9906cc8645a48ae3b019a8814b4e23b.tar.gz
chat-b50e7dc7a9906cc8645a48ae3b019a8814b4e23b.tar.bz2
chat-b50e7dc7a9906cc8645a48ae3b019a8814b4e23b.zip
fixes issue for channel change failure #6529 (#6705)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/file_attachment_list/index.js2
1 files changed, 1 insertions, 1 deletions
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;
}