From 6fe305b15fb2ac13c4a6dadd3030767c1b090fab Mon Sep 17 00:00:00 2001 From: MCele Date: Tue, 28 Feb 2023 16:41:42 -0300 Subject: [PATCH] fix(RUP): Componente numerico se quita valor por defecto 0 --- .../rup/components/elementos/valorNumerico.component.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/modules/rup/components/elementos/valorNumerico.component.ts b/src/app/modules/rup/components/elementos/valorNumerico.component.ts index 0adb806c64..537176a16f 100644 --- a/src/app/modules/rup/components/elementos/valorNumerico.component.ts +++ b/src/app/modules/rup/components/elementos/valorNumerico.component.ts @@ -10,9 +10,6 @@ import { RupElement } from '.'; export class ValorNumericoComponent extends RUPComponent implements OnInit { public esRequerido: boolean; ngOnInit() { - if (!this.registro.valor) { - this.registro.valor = 0; - } if (!this.soloValores) { // Observa cuando cambia la propiedad 'valor' en otro elemento RUP this.conceptObserverService.observe(this.registro).subscribe((data) => {