feat: clear

This commit is contained in:
EETagent 2023-02-05 21:12:32 +01:00
parent 3cbe187292
commit ca1993533e

View file

@ -88,6 +88,7 @@
const generatePdf = async () => {
const template = (await import('$lib/assets/pdf/drawing.svg?raw')).default;
const svg = template
.replace('${APPLICATION}', login.applicationId.toString())
.replace('${CODE}', login.password);
@ -100,6 +101,8 @@
await doc.svg(element);
doc.save('PRIHLASOVACI_UDAJE_' + login.applicationId.toString());
element.innerHTML = '';
};
const close = () => {