diff --git a/src/components/pdf_generation/GenerateSponsoringContracts.svelte b/src/components/pdf_generation/GenerateSponsoringContracts.svelte index 75525b27..23f95908 100644 --- a/src/components/pdf_generation/GenerateSponsoringContracts.svelte +++ b/src/components/pdf_generation/GenerateSponsoringContracts.svelte @@ -77,6 +77,12 @@ o.id, true ); + if (runners.length > 0) { + download_details.push({ + name: runners[0].group.name, + downloaded: false, + }); + } await documentServer .generateContracts(runners, locale) .then((blob) => {