Compare commits

..

No commits in common. "1cbe5a1614c40fbf23f032be60039ddb1472ca94" and "0839ff63593cfb9e8339b2b2a86dbe7e2afb5dcb" have entirely different histories.

2 changed files with 2 additions and 15 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@odit/lfk-document-server",
"version": "0.4.2",
"version": "0.4.1",
"description": "The document generation server for the LfK! runner system. This generates certificates, sponsoring aggreements and more",
"main": "src/app.ts",
"scripts": {

View File

@ -71,20 +71,7 @@ export class PdfController {
private mapCardGroupNames(cards: RunnerCard[]): RunnerCard[] {
let response = new Array<RunnerCard>();
for (let card of cards) {
if (!card.runner) {
card.runner = {
id: 0,
firstname: "Blank",
lastname: "Blank",
distance: 0,
group: {
id: 0,
name: "Blank",
fullName: "Blank"
}
}
}
else if (!card.runner.group.parentGroup) {
if (!card.runner.group.parentGroup) {
card.runner.group.fullName = card.runner.group.name;
}
else {