diff --git a/internal_packages/composer/lib/file-upload.cjsx b/internal_packages/composer/lib/file-upload.cjsx index 4030739e0..e499e02cb 100644 --- a/internal_packages/composer/lib/file-upload.cjsx +++ b/internal_packages/composer/lib/file-upload.cjsx @@ -31,6 +31,6 @@ class FileUpload extends React.Component Actions.removeAttachment @props.upload _extension: => - path.extname(@props.upload.filename)[1..-1] + path.extname(@props.upload.filename.toLowerCase())[1..-1] module.exports = FileUpload