mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixed reference to non-existant local variable that prevented the sidebar from opening message threads containing non-image attachments
This commit is contained in:
@@ -111,7 +111,7 @@ RootPost = React.createClass({
|
||||
} else {
|
||||
postFiles.push(
|
||||
<div className="post-image__column custom-file" key={fileInfo.path}>
|
||||
<a href={fileInfo.path+"."+ext} download={fileInfo.name+"."+ext}>
|
||||
<a href={fileInfo.path+"."+fileInfo.ext} download={fileInfo.name+"."+fileInfo.ext}>
|
||||
<div className={"file-icon "+utils.getIconClassName(ftype)}/>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user