|
|
@ -42,12 +42,8 @@ export class GfValueComponent implements OnChanges { |
|
|
public isString = false; |
|
|
public isString = false; |
|
|
public useAbsoluteValue = false; |
|
|
public useAbsoluteValue = false; |
|
|
|
|
|
|
|
|
get hasPrecision(): boolean { |
|
|
private get hasPrecision(): boolean { |
|
|
return ( |
|
|
return this.precision !== undefined && this.precision >= 0; |
|
|
this.precision !== undefined && |
|
|
|
|
|
this.precision !== null && |
|
|
|
|
|
this.precision >= 0 |
|
|
|
|
|
); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public ngOnChanges() { |
|
|
public ngOnChanges() { |
|
|
|