From 6bdda4609db20108ded9d824ae6d1bc85d2ff746 Mon Sep 17 00:00:00 2001 From: Luis Suarez Date: Fri, 14 Feb 2020 08:35:40 -0400 Subject: [PATCH] correccion de sintaxis --- .../filtro-categorias/filtro-categorias.component.html | 3 ++- .../filtro-categorias/filtro-categorias.component.ts | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) 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; } } -- 1.9.1