Commit 0197afc4cc4461318fa312b788f8845899625fda
1 parent
5b96c07780
Exists in
develop
Fix
En logica de stock
Showing
2 changed files
with
3 additions
and
2 deletions
 
Show diff stats
src/app/modules/seleccion-articulos/seleccion-articulos.component.html
src/app/modules/seleccion-articulos/seleccion-articulos.component.ts
| ... | ... | @@ -107,8 +107,9 @@ export class SeleccionArticulosComponent implements OnInit, AfterViewInit, OnDes | 
| 107 | 107 | }); | 
| 108 | 108 | this.modalRef.content.onClose | 
| 109 | 109 | .subscribe(() => this.modalRef = null); | 
| 110 | + } else { | |
| 111 | + this.getByID(articulo.id); | |
| 110 | 112 | } | 
| 111 | - this.getByID(articulo.id); | |
| 112 | 113 | } | 
| 113 | 114 | |
| 114 | 115 | getByID(id: number) { |