[FE][Certs] Fix generated file name for carnets
This commit is contained in:
parent
c52d4620c7
commit
cead15a33d
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user