diff options
author | Corey Hulen <corey@hulen.com> | 2015-08-28 07:32:33 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-08-28 07:32:33 -0700 |
commit | 604166068ea8cd881a1c0a513cea3f992e9a65ea (patch) | |
tree | 462171ce22fa32cf9e1b275c10f71f3f66edb9eb /web/react/components/file_attachment_list.jsx | |
parent | a26b486ba29493dfda8f6a876e908a5d4c1c10f8 (diff) | |
parent | e54354f92a5022256e11b245c030bb62eb5232e7 (diff) | |
download | chat-604166068ea8cd881a1c0a513cea3f992e9a65ea.tar.gz chat-604166068ea8cd881a1c0a513cea3f992e9a65ea.tar.bz2 chat-604166068ea8cd881a1c0a513cea3f992e9a65ea.zip |
Merge pull request #513 from mattermost/mm-1861
MM-1861 Fixes root images not loading when switching RHS threads.
Diffstat (limited to 'web/react/components/file_attachment_list.jsx')
-rw-r--r-- | web/react/components/file_attachment_list.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/file_attachment_list.jsx b/web/react/components/file_attachment_list.jsx index b92442957..df4424d03 100644 --- a/web/react/components/file_attachment_list.jsx +++ b/web/react/components/file_attachment_list.jsx @@ -26,7 +26,7 @@ module.exports = React.createClass({ var postFiles = []; for (var i = 0; i < filenames.length && i < Constants.MAX_DISPLAY_FILES; i++) { - postFiles.push(<FileAttachment key={i} filenames={filenames} index={i} modalId={modalId} handleImageClick={this.handleImageClick} />); + postFiles.push(<FileAttachment key={i} filename={filenames[i]} index={i} modalId={modalId} handleImageClick={this.handleImageClick} />); } return ( |