From ceee4e8a37f4b74f4f55798b7cb1aed2d6fe29b7 Mon Sep 17 00:00:00 2001 From: plammel Date: Tue, 31 Aug 2021 12:18:01 -0300 Subject: [PATCH] fix(BI): arreglar dashboard TOP --- .../components/citas/graficos.component.ts | 2 +- .../estadisticas/components/top/top.html | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/app/modules/estadisticas/components/citas/graficos.component.ts b/src/app/modules/estadisticas/components/citas/graficos.component.ts index e6253970d0..a822ec78d1 100644 --- a/src/app/modules/estadisticas/components/citas/graficos.component.ts +++ b/src/app/modules/estadisticas/components/citas/graficos.component.ts @@ -80,7 +80,7 @@ export class GraficosComponent implements OnInit { } descargar(value) { - if (this.filtros && this.filtros.tipoDeFiltro === 'turnos') { + if (this.filtros) { // Se agregan datos de filtrados en el primer elemendo del array para visualizar en csv Object.keys(this.filtros).map(filtro => value[0][filtro] = this.filtros[filtro] ? this.filtros[filtro] : ''); this.requestInProgress = true; diff --git a/src/app/modules/estadisticas/components/top/top.html b/src/app/modules/estadisticas/components/top/top.html index 1344cfe86f..35c4743a6d 100644 --- a/src/app/modules/estadisticas/components/top/top.html +++ b/src/app/modules/estadisticas/components/top/top.html @@ -11,32 +11,32 @@
- +
- +
- +
- +
- +
- +
@@ -47,32 +47,32 @@
- +
- +
- +
- +
- +
- +