fix: fix various typos

This commit is contained in:
Wieland Schöbl
2021-05-21 15:35:26 +02:00
parent 1d94dd5bf3
commit ad0dae46ff
16 changed files with 49 additions and 49 deletions

View File

@@ -77,13 +77,13 @@ export class StringSplitPipe implements PipeTransform {
pure: false, // required to update the value when the promise is resolved
})
export class NumberLocalizedPipe implements PipeTransform, OnDestroy {
decialPipe: DecimalPipe;
decimalPipe: DecimalPipe;
locale: string;
onLangChange: Subscription;
value: unknown;
constructor(private readonly translate: TranslateService) {
this.decialPipe = new DecimalPipe('de-DE');
this.decimalPipe = new DecimalPipe('de-DE');
this.locale = translate.currentLang;
}
@@ -124,6 +124,6 @@ export class NumberLocalizedPipe implements PipeTransform, OnDestroy {
updateValue(value: unknown, digitsInfo?: string | undefined): void {
// this.value = this.locale;
this.value = this.decialPipe.transform(value, digitsInfo,this.locale);
this.value = this.decimalPipe.transform(value, digitsInfo,this.locale);
}
}