Update publications, change download name

This commit is contained in:
2024-10-28 19:13:26 -07:00
parent 2f26afb36f
commit efbc68679a
2 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ export default function PublicationsPage() {
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = `refs.bib`;
a.download = `${citationKey}.bib`;
document.body.appendChild(a);
a.click();
document.body.removeChild(a);