diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-07-28 16:41:57 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-07-29 10:04:28 -0400 |
commit | af246bb44b7968b9f880d819e3aa04342846fccc (patch) | |
tree | a7fc74d5bffa684aee1a9d445c47b9f9d25835e7 /web/react/components/file_attachment.jsx | |
parent | b0c64c73f929c9021196706fa1352ac4aa6f95a4 (diff) | |
download | chat-af246bb44b7968b9f880d819e3aa04342846fccc.tar.gz chat-af246bb44b7968b9f880d819e3aa04342846fccc.tar.bz2 chat-af246bb44b7968b9f880d819e3aa04342846fccc.zip |
Updated ViewImage modal dialog to include details about non-image files
Diffstat (limited to 'web/react/components/file_attachment.jsx')
-rw-r--r-- | web/react/components/file_attachment.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx index 385ff0e8d..57a064ff4 100644 --- a/web/react/components/file_attachment.jsx +++ b/web/react/components/file_attachment.jsx @@ -110,7 +110,7 @@ module.exports = React.createClass({ {thumbnail} </a> <div className="post-image__details"> - <div className="post-image__name">{fileInfo.name}</div> + <div className="post-image__name">{decodeURIComponent(utils.getFileName(filename))}</div> <div> <span className="post-image__type">{fileInfo.ext.toUpperCase()}</span> <span className="post-image__size">{fileSizeString}</span> |