diff --git a/src/app/components/pago/pago.component.ts b/src/app/components/pago/pago.component.ts index 1fe0a23..ef36864 100644 --- a/src/app/components/pago/pago.component.ts +++ b/src/app/components/pago/pago.component.ts @@ -27,6 +27,7 @@ export class PagoComponent implements OnInit { ) { } ngOnInit() { + this.productos = this.productoService.productos; } @@ -37,6 +38,7 @@ export class PagoComponent implements OnInit { this.productoService.pagar() .subscribe(() => { + // alert('Compra finalizada'); this.compraConQRfinalizada = true; setTimeout(() => {