Browse Source

UI: Refactoring after review

pull/13282/head
Vladyslav_Prykhodko 1 year ago
parent
commit
9922fba7a1
  1. 1
      ui-ngx/src/app/core/services/unit.service.ts

1
ui-ngx/src/app/core/services/unit.service.ts

@ -47,6 +47,7 @@ export class UnitService {
constructor(private translate: TranslateService, constructor(private translate: TranslateService,
private store: Store<AppState>) { private store: Store<AppState>) {
this.converter = getUnitConverter(this.translate);
this.translate.onLangChange.pipe( this.translate.onLangChange.pipe(
takeUntilDestroyed() takeUntilDestroyed()
).subscribe(() => { ).subscribe(() => {

Loading…
Cancel
Save