Merge pull request #930 from kcseb/master

Updated the download link to retain file extension.
This commit is contained in:
jessopb 2019-02-22 14:10:38 -05:00 committed by GitHub
commit 8e9e195b8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ class AssetInfo extends React.Component {
<a
className={'link--primary'}
href={`${assetCanonicalUrl}.${fileExt}`}
download={name}
download={`${name}.${fileExt}`}
>
Download
</a>