UI: Refactoring after review
This commit is contained in:
parent
8b14e72f8c
commit
9922fba7a1
@ -47,6 +47,7 @@ export class UnitService {
|
||||
|
||||
constructor(private translate: TranslateService,
|
||||
private store: Store<AppState>) {
|
||||
this.converter = getUnitConverter(this.translate);
|
||||
this.translate.onLangChange.pipe(
|
||||
takeUntilDestroyed()
|
||||
).subscribe(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user