diff --git a/59.patch b/59.patch deleted file mode 100644 index 1d587af07d01d6c1693ce3fa153c52765e146e89..0000000000000000000000000000000000000000 --- a/59.patch +++ /dev/null @@ -1,84 +0,0 @@ -From 1ed41e2cb9e632f3a1b166c22ec20c3d77f9397d Mon Sep 17 00:00:00 2001 -From: rehman01 <adul.rehman@ptb.de> -Date: Fri, 17 Jan 2025 11:20:17 +0100 -Subject: [PATCH] Bug gefixt, - ---- - src/app/components/dcc/dcc.component.html | 2 +- - src/app/components/dcc/dcc.component.scss | 3 +++ - src/app/components/dcc/dcc.component.ts | 11 ++++++++++- - 3 files changed, 14 insertions(+), 2 deletions(-) - -diff --git a/src/app/components/dcc/dcc.component.html b/src/app/components/dcc/dcc.component.html -index 28b6335..f9e4503 100644 ---- a/src/app/components/dcc/dcc.component.html -+++ b/src/app/components/dcc/dcc.component.html -@@ -23,7 +23,7 @@ - </button> - </mat-card-content> - </mat-card> -- <mat-stepper #stepper linear [selectedIndex]="currentStepIndex"> -+ <mat-stepper #stepper linear [selectedIndex]="currentStepIndex" (selectionChange)="onStepChange($event)"> - <mat-step> - <ng-template matStepLabel>Administrative Daten*</ng-template> - <mat-card class="blue-card"> -diff --git a/src/app/components/dcc/dcc.component.scss b/src/app/components/dcc/dcc.component.scss -index aef1532..e57eda5 100644 ---- a/src/app/components/dcc/dcc.component.scss -+++ b/src/app/components/dcc/dcc.component.scss -@@ -96,6 +96,7 @@ mat-stepper { - width: 100%; - display: inline-flex; - background-color: #f5f5f5; -+ //background-color: #1976d2; - justify-content: space-between; - justify-content: center; - box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); -@@ -115,6 +116,8 @@ mat-stepper { - font-size: 15px; - border-radius: 5px; - background-color: #1976d2; -+ // background-color: #FFC107; -+ //color:black; - color: #ffffff; - } - .footer-navigation button:disabled { -diff --git a/src/app/components/dcc/dcc.component.ts b/src/app/components/dcc/dcc.component.ts -index 37c7647..9bb472c 100644 ---- a/src/app/components/dcc/dcc.component.ts -+++ b/src/app/components/dcc/dcc.component.ts -@@ -36,6 +36,7 @@ import { ByteDataDto } from 'src/app/generated/dcc/model/byteDataDto'; - import { ListDto } from 'src/app/generated/dcc/model/listDto'; - import { DccMeasurementMetadataComponent } from './dcc-measurement-metadata/dcc-measurement-metadata.component'; - import { MatStepper } from '@angular/material/stepper'; -+import { StepperSelectionEvent } from '@angular/cdk/stepper'; - - - -@@ -57,7 +58,7 @@ export class DccComponent implements OnInit,AfterContentChecked { - header_statement = "Statement"; - currentStepIndex = 0; - totalSteps = 4; -- -+ isLastStep =false - statement!: StatementDto; - cipmForm!: FormGroup; - addressForm!: FormGroup; -@@ -677,6 +678,14 @@ export class DccComponent implements OnInit,AfterContentChecked { - stepper.next(); - } - } -+ onStepChange(event: StepperSelectionEvent): void { -+ this.currentStepIndex = event.selectedIndex; -+ this.updateStepState(); -+ } -+ -+ private updateStepState(): void { -+ this.isLastStep = this.currentStepIndex === this.totalSteps - 1; -+ } - testJson = { - administrativeData: { - dccSoftware: [ --- -GitLab -