diff --git a/Front/skydivelogs-app/src/app/new-jump/new-jump.component.html b/Front/skydivelogs-app/src/app/new-jump/new-jump.component.html index a9c06ad..0856693 100644 --- a/Front/skydivelogs-app/src/app/new-jump/new-jump.component.html +++ b/Front/skydivelogs-app/src/app/new-jump/new-jump.component.html @@ -9,7 +9,7 @@ Choose the jump type - + {{jumpType.name}} @@ -24,7 +24,7 @@ Choose the aircraft - + {{aircraft.name}} @@ -39,7 +39,7 @@ Choose the DZ - + {{dropZone.name}} @@ -54,7 +54,7 @@ Choose the used gear - + {{gear.name}} ({{gear.mainCanopy}}) diff --git a/Front/skydivelogs-app/src/app/new-jump/new-jump.component.ts b/Front/skydivelogs-app/src/app/new-jump/new-jump.component.ts index 3e15422..3d57497 100644 --- a/Front/skydivelogs-app/src/app/new-jump/new-jump.component.ts +++ b/Front/skydivelogs-app/src/app/new-jump/new-jump.component.ts @@ -181,9 +181,12 @@ export class NewJumpComponent implements OnInit { this.isSpecial = false; } - public displayFn(data?: JumpTypeResp): string | undefined { + public displayNameFn(data?: any): string | undefined { return data ? data.name : undefined; } + public displayGearFn(data?: GearResp): string | undefined { + return data ? `${data.name} (${data.mainCanopy})` : undefined; + } public onChangeDz(event: any) { let filterValue: string;