✨ Fixing download anchoring proof
This commit is contained in:
parent
5f0b165e6b
commit
ad25749942
@ -283,7 +283,7 @@ class FolderInformationClass extends BasePage<IPropsClass, IState> {
|
||||
a.style.display = "none";
|
||||
a.href = url;
|
||||
// the filename you want
|
||||
a.download = "anchoring_proof.pdf";
|
||||
a.download = `anchoring_proof_${this.state.selectedFolder?.folder_number}_${this.state.selectedFolder?.name}.pdf`;
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
window.URL.revokeObjectURL(url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user