Merge pull request #103 from nickago/MM-1293

MM-1293 Updated file display key to avoid child flattening
Этот коммит содержится в:
Joram Wilander
2015-06-30 08:03:58 -04:00
родитель 74081b7fdc 351068491e
Коммит 884df23881

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

@@ -102,7 +102,7 @@ module.exports = React.createClass({
images.push(filenames[i]);
} else if (i < Constants.MAX_DISPLAY_FILES) {
postFiles.push(
<div className="post-image__column custom-file" key={fileInfo.name}>
<div className="post-image__column custom-file" key={fileInfo.name+i}>
<a href={fileInfo.path+"."+fileInfo.ext} download={fileInfo.name+"."+fileInfo.ext}>
<div className={"file-icon "+utils.getIconClassName(type)}/>
</a>