diff --git a/src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.html b/src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.html index 3b80fd8..f5cdee7 100644 --- a/src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.html +++ b/src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.html @@ -39,7 +39,8 @@ 'media-pantalla': templateCategorias.classList.contains('media-pantalla')}" (click)="selectCategoria(i, categoria.id)" id="cat-content" - *ngIf="categoria.articulos > 0 && compararFecha(categoria.vigencia_desde,categoria.vigencia_hasta)"> + *ngIf="categoria.articulos > 0 + && compararFecha(categoria.vigencia_desde,categoria.vigencia_hasta)"> = fechaInicio && fechaHoy <= fechaFin) { - return true + return true; } else { - return false + return false; } }