diff --git a/src/app/components/inicio/inicio.component.ts b/src/app/components/inicio/inicio.component.ts
index 87b83cf..ea0b42c 100644
--- a/src/app/components/inicio/inicio.component.ts
+++ b/src/app/components/inicio/inicio.component.ts
@@ -85,9 +85,9 @@ export class InicioComponent implements OnInit {
});
}
- irBusquedaProductos(verPromociones) {
+ irBusquedaProductos(value) {
- this.productoService.verCategoriasProductos = verPromociones;
+ this.productoService.mostrar = value;
this.router.navigate(['busqueda-productos']);
}
diff --git a/src/app/services/producto.service.ts b/src/app/services/producto.service.ts
index 457681f..5c17a58 100644
--- a/src/app/services/producto.service.ts
+++ b/src/app/services/producto.service.ts
@@ -12,7 +12,7 @@ export class ProductoService {
productos: Producto[] = [];
productoAcargar: Producto;
promoAcargar: Producto;
- verCategoriasProductos: boolean = true;
+ mostrar: string;
constructor(private http: HttpClient) { }
diff --git a/src/app/wrappers/categoria.ts b/src/app/wrappers/categoria.ts
index 0dd7119..b8d3141 100644
--- a/src/app/wrappers/categoria.ts
+++ b/src/app/wrappers/categoria.ts
@@ -3,5 +3,6 @@ export interface Categoria {
detalle: string,
es_promocion: boolean,
vigencia_desde: Date,
- vigencia_hasta: Date
+ vigencia_hasta: Date,
+ ES_PEDIDO: boolean
}
\ No newline at end of file