feat: v4.4.0 - export filename: <slug_nazvu>-<YYYYMMDD-HHMM>.{json,pdf}
Some checks failed
Build & Push Docker / build (push) Has been cancelled

This commit is contained in:
2026-02-20 18:38:34 +01:00
parent 751ffe6f82
commit f7f2987f86
4 changed files with 24 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ function exportJson() {
}
const json = JSON.stringify(doc, null, 2);
const blob = new Blob([json], { type: 'application/json' });
API.downloadBlob(blob, 'scenar_export.json');
API.downloadBlob(blob, App.buildFilename('json'));
App.toast('JSON exportován', 'success');
}