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(() => {