From 06bd687f222530e0d6ced88e57f3fafedf9186d1 Mon Sep 17 00:00:00 2001 From: 5Amogh Date: Thu, 20 Oct 2022 11:02:09 +0530 Subject: [PATCH] Issue #SB-31008 fix: disabling the graphs and tables feature --- .../program-datasets.component.html | 4 ++-- .../program-datasets.component.ts | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html b/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html index 705b1b1275f..25905040fcb 100644 --- a/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html +++ b/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html @@ -39,7 +39,7 @@

{{reso - + diff --git a/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts b/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts index 537d9230e1d..e85529f332d 100644 --- a/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts +++ b/src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts @@ -311,16 +311,16 @@ export class DatasetsComponent implements OnInit, OnDestroy { "reportconfig.report_status": "active" } - this.dashboardReport$ = this.renderReport(filtersForReport).pipe( - catchError(err => { - console.error('Error while rendering report', err); - this.noResultMessage = { - 'messageText': _.get(err, 'messageText') || 'messages.stmsg.m0131' - }; - this.noResult = true; - return of({}); - }) - ); + // this.dashboardReport$ = this.renderReport(filtersForReport).pipe( + // catchError(err => { + // console.error('Error while rendering report', err); + // this.noResultMessage = { + // 'messageText': _.get(err, 'messageText') || 'messages.stmsg.m0131' + // }; + // this.noResult = true; + // return of({}); + // }) + // ); if (types && types.length > 0) { types.forEach(element => {