From 68033acec16a1d3b24514d5ccc87b779ba979474 Mon Sep 17 00:00:00 2001 From: Giannin Date: Wed, 13 Nov 2024 13:49:21 +0100 Subject: [PATCH] Apply formatter --- .../check-in-form-metric/check-in-form-metric.component.spec.ts | 2 +- .../pipes/unit-transformation/unit-transformation.pipe.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.spec.ts b/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.spec.ts index 06d95b371e..dfe832385e 100644 --- a/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.spec.ts +++ b/frontend/src/app/components/checkin/check-in-form-metric/check-in-form-metric.component.spec.ts @@ -29,7 +29,7 @@ describe('CheckInFormComponent', () => { de: de, }), ], - declarations: [CheckInFormMetricComponent,], + declarations: [CheckInFormMetricComponent], providers: [], }); fixture = TestBed.createComponent(CheckInFormMetricComponent); diff --git a/frontend/src/app/shared/pipes/unit-transformation/unit-transformation.pipe.ts b/frontend/src/app/shared/pipes/unit-transformation/unit-transformation.pipe.ts index 1c36819adc..67725fe83a 100644 --- a/frontend/src/app/shared/pipes/unit-transformation/unit-transformation.pipe.ts +++ b/frontend/src/app/shared/pipes/unit-transformation/unit-transformation.pipe.ts @@ -6,7 +6,7 @@ import { Pipe, PipeTransform } from '@angular/core'; }) export class UnitTransformationPipe implements PipeTransform { transform(value: number, label: string): string { - return this.transformValue(value) + this.transformLabel(label) + return this.transformValue(value) + this.transformLabel(label); } transformValue(value: number): string {