Updated the download link to retain file extension.
Updated the download URL to retain the file extension. Before, when you would download the file it would not append the file extension, this will fix that.
This commit is contained in:
parent
27cbe26936
commit
961700390a
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class AssetInfo extends React.Component {
|
|||
<a
|
||||
className={'link--primary'}
|
||||
href={`${assetCanonicalUrl}.${fileExt}`}
|
||||
download={name}
|
||||
download={`${name}.${fileExt}`}
|
||||
>
|
||||
Download
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue