From 9922fba7a171bd8245073fda951ab7d92dc158e3 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 16 May 2025 16:41:52 +0300 Subject: [PATCH] UI: Refactoring after review --- ui-ngx/src/app/core/services/unit.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/src/app/core/services/unit.service.ts b/ui-ngx/src/app/core/services/unit.service.ts index c68115f1a3..1cba587a0c 100644 --- a/ui-ngx/src/app/core/services/unit.service.ts +++ b/ui-ngx/src/app/core/services/unit.service.ts @@ -47,6 +47,7 @@ export class UnitService { constructor(private translate: TranslateService, private store: Store) { + this.converter = getUnitConverter(this.translate); this.translate.onLangChange.pipe( takeUntilDestroyed() ).subscribe(() => {