From 06bd687f222530e0d6ced88e57f3fafedf9186d1 Mon Sep 17 00:00:00 2001 From: 5Amogh <amoghavarsh@navadhiti.com> 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 705b1b1275..25905040fc 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 @@ </ng-template> <ng-container *ngTemplateOutlet="programDataset"></ng-container> </mat-tab> - <mat-tab appTelemetryInteract> + <!-- <mat-tab appTelemetryInteract> <ng-template mat-tab-label> <span class="font-weight-bold">{{resourceService?.frmelmnts?.lbl?.graphs}}</span> </ng-template> @@ -50,7 +50,7 @@ <span class="font-weight-bold">{{resourceService?.frmelmnts?.lbl?.table}}</span> </ng-template> <ng-container *ngTemplateOutlet="table"></ng-container> - </mat-tab> + </mat-tab> --> </mat-tab-group> </div> 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 537d9230e1..e85529f332 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 => { -- GitLab