Compare commits
No commits in common. "1cbe5a1614c40fbf23f032be60039ddb1472ca94" and "0839ff63593cfb9e8339b2b2a86dbe7e2afb5dcb" have entirely different histories.
1cbe5a1614
...
0839ff6359
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@odit/lfk-document-server",
|
"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",
|
"description": "The document generation server for the LfK! runner system. This generates certificates, sponsoring aggreements and more",
|
||||||
"main": "src/app.ts",
|
"main": "src/app.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -71,20 +71,7 @@ export class PdfController {
|
|||||||
private mapCardGroupNames(cards: RunnerCard[]): RunnerCard[] {
|
private mapCardGroupNames(cards: RunnerCard[]): RunnerCard[] {
|
||||||
let response = new Array<RunnerCard>();
|
let response = new Array<RunnerCard>();
|
||||||
for (let card of cards) {
|
for (let card of cards) {
|
||||||
if (!card.runner) {
|
if (!card.runner.group.parentGroup) {
|
||||||
card.runner = {
|
|
||||||
id: 0,
|
|
||||||
firstname: "Blank",
|
|
||||||
lastname: "Blank",
|
|
||||||
distance: 0,
|
|
||||||
group: {
|
|
||||||
id: 0,
|
|
||||||
name: "Blank",
|
|
||||||
fullName: "Blank"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (!card.runner.group.parentGroup) {
|
|
||||||
card.runner.group.fullName = card.runner.group.name;
|
card.runner.group.fullName = card.runner.group.name;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user