From a7d4929035d6d562fbdc6c6b5fd851d7f58653dd Mon Sep 17 00:00:00 2001 From: RIHTARSIC Joze <joze.rihtarsic@ext.ec.europa.eu> Date: Mon, 14 Oct 2024 13:31:01 +0200 Subject: [PATCH] [EDELIVERY-13955] PR updates --- .../panels/certificate-panel/certificate-panel.component.html | 4 ++-- .../panels/certificate-panel/certificate-panel.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/smp-angular/src/app/common/panels/certificate-panel/certificate-panel.component.html b/smp-angular/src/app/common/panels/certificate-panel/certificate-panel.component.html index 9962dafcc..b14e6de1e 100644 --- a/smp-angular/src/app/common/panels/certificate-panel/certificate-panel.component.html +++ b/smp-angular/src/app/common/panels/certificate-panel/certificate-panel.component.html @@ -35,13 +35,13 @@ <mat-label>{{ "certificate.panel.label.valid.from" | translate }}</mat-label> <input matInput placeholder="{{ 'certificate.panel.placeholder.valid.from' | translate }}" - [value]="getCertificateValidFromFormattedDate" + [value]="certificateValidFromFormattedDate" readonly> </mat-form-field> <mat-form-field style="flex-grow: 1"> <mat-label>{{ "certificate.panel.label.valid.to" | translate }}</mat-label> <input matInput placeholder="{{ 'certificate.panel.placeholder.valid.to' | translate }}" - [value]="getCertificateValidToFormattedDate" + [value]="certificateValidToFormattedDate" readonly> </mat-form-field> </div> diff --git a/smp-angular/src/app/common/panels/certificate-panel/certificate-panel.component.ts b/smp-angular/src/app/common/panels/certificate-panel/certificate-panel.component.ts index afc50a5b8..eddf31299 100644 --- a/smp-angular/src/app/common/panels/certificate-panel/certificate-panel.component.ts +++ b/smp-angular/src/app/common/panels/certificate-panel/certificate-panel.component.ts @@ -29,7 +29,7 @@ export class CertificatePanelComponent { get certificateValidFromFormattedDate(): string { return this.formatDate(this._certificate?.validFrom); } - get getCertificateValidToFormattedDate(): string { + get certificateValidToFormattedDate(): string { return this.formatDate(this._certificate?.validTo); } } -- GitLab