diff --git a/src/app/components/inicio/inicio.component.ts b/src/app/components/inicio/inicio.component.ts index 40af3fc..87b83cf 100644 --- a/src/app/components/inicio/inicio.component.ts +++ b/src/app/components/inicio/inicio.component.ts @@ -78,6 +78,7 @@ export class InicioComponent implements OnInit { } getProductos() { + this.productoService.getAll() .subscribe((productos: Producto[]) => { this.productos = productos;