Commit c6f77ae9bac7837b8e1614fe3c69f1b95f4fd7b6

Authored by Marcelo Puebla
1 parent b50c944e9b
Exists in develop

Fix

En seleccion de sinonimo
src/app/modules/seleccion-articulos/seleccion-articulos.component.ts
... ... @@ -176,7 +176,8 @@ export class SeleccionArticulosComponent implements OnInit, AfterViewInit, OnDes
176 176 .subscribe((res: any) => {
177 177 this.modalRef = null;
178 178 if (!res) return;
179   - articulo.productos = res.articulos;
  179 + articulo.productos = articulo.productos.filter(a => a.idSinonimo === 0);
  180 + Array.prototype.push.apply(articulo.productos, res.articulos);
180 181 this.articuloService.setArticulo(articulo);
181 182 });
182 183 this.mediaPantalla();