[FE][Certs] Fix generated file name for carnets

master
Araozu 2023-11-28 16:33:38 -05:00
parent c52d4620c7
commit cead15a33d
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ export function generateCarnetImpl(p: Person, r: Register, certName: string, cer
v.ready().then(() => { v.ready().then(() => {
canvas.toBlob((blob) => { canvas.toBlob((blob) => {
if (blob !== null) { if (blob !== null) {
saveAs(blob, `CARNET MATPEL - ${fullname}.png`); saveAs(blob, `CARNET ${certName} - ${fullname}.png`);
} else { } else {
console.log("blob is null... :c"); console.log("blob is null... :c");
} }