Charges with translations
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
8ac82cc6a6
commit
b380f7f630
@@ -11,9 +11,9 @@ export class FormatNumberPipe implements PipeTransform {
|
||||
private settingsService: SettingsService) {
|
||||
}
|
||||
|
||||
transform(value: string | number, ...args: unknown[]): string {
|
||||
transform(value: string | number, defaultValue: any): string {
|
||||
if (!value) {
|
||||
return '';
|
||||
return defaultValue ? defaultValue : '';
|
||||
}
|
||||
const locale = this.settingsService.language.code;
|
||||
const decimals = this.settingsService.decimals;
|
||||
|
||||
Reference in New Issue
Block a user