Commit 977726522b8e2d16991752021fd068c6e380b857

Authored by Eric Fernandez
1 parent 782144db78
Exists in master

no way

Showing 1 changed file with 0 additions and 7 deletions   Show diff stats
src/app/components/inicio/inicio.component.ts
... ... @@ -94,13 +94,6 @@ export class InicioComponent implements OnInit, AfterViewInit {
94 94  
95 95 let producto = this.promoAcargar ? this.promoAcargar : this.productoAcargar;
96 96  
97   - if (producto.productos) {
98   -
99   - producto.productos = producto.productos.filter(producto => {
100   - return producto.idSinonimo > 0;
101   - });
102   - }
103   -
104 97 producto.cantidad = producto.cantidad ? producto.cantidad : 1;
105 98  
106 99 this.productoService.setProductos(producto);