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 9962dafcc6ace32518751bd35152bfda921b7d19..b14e6de1ea62bf7483541eb09c433c3846997bbd 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 afc50a5b802effbd523a55785c3e6da70565d70c..eddf31299dd64030243670585f50a98bc49f7a7d 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); } }