From cead15a33d029b4b32810e039075b2dbbdf6959d Mon Sep 17 00:00:00 2001 From: Araozu Date: Tue, 28 Nov 2023 16:33:38 -0500 Subject: [PATCH] [FE][Certs] Fix generated file name for carnets --- frontend/src/certs/Registers/RegisterElement.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/certs/Registers/RegisterElement.tsx b/frontend/src/certs/Registers/RegisterElement.tsx index 0b84ff6..7540316 100644 --- a/frontend/src/certs/Registers/RegisterElement.tsx +++ b/frontend/src/certs/Registers/RegisterElement.tsx @@ -232,7 +232,7 @@ export function generateCarnetImpl(p: Person, r: Register, certName: string, cer v.ready().then(() => { canvas.toBlob((blob) => { if (blob !== null) { - saveAs(blob, `CARNET MATPEL - ${fullname}.png`); + saveAs(blob, `CARNET ${certName} - ${fullname}.png`); } else { console.log("blob is null... :c"); }