|
|
@ -1404,6 +1404,7 @@ class Listofworks extends Component {
|
|
|
|
const name = decodeURI(response.headers['content-disposition'].split('=')[1])
|
|
|
|
const name = decodeURI(response.headers['content-disposition'].split('=')[1])
|
|
|
|
console.log(response.headers['content-disposition'].split('=')[1]);
|
|
|
|
console.log(response.headers['content-disposition'].split('=')[1]);
|
|
|
|
console.log(name);
|
|
|
|
console.log(name);
|
|
|
|
|
|
|
|
console.log(decodeURIComponent(response.headers['content-disposition'].split('=')[1]));
|
|
|
|
downloadElement.href = href
|
|
|
|
downloadElement.href = href
|
|
|
|
downloadElement.download = name
|
|
|
|
downloadElement.download = name
|
|
|
|
document.body.appendChild(downloadElement)
|
|
|
|
document.body.appendChild(downloadElement)
|
|
|
|