Generate the pdf beside the json file
This commit is contained in:
parent
05f13224fa
commit
d6e06f3594
@ -70,6 +70,9 @@ export async function getProcessCreation(container: HTMLElement) {
|
||||
|
||||
setTimeout(() => URL.revokeObjectURL(link.href), 1000);
|
||||
}
|
||||
|
||||
await service.generateProcessPdf(processId, newState);
|
||||
|
||||
// Add processId to the state we export
|
||||
newState['process_id'] = processId;
|
||||
const blob = new Blob([JSON.stringify(newState, null, 2)], { type: 'application/json' });
|
||||
|
Loading…
x
Reference in New Issue
Block a user