Skip to content

Commit

Permalink
Merge pull request #8331 from 5Amogh/release-5.0.0
Browse files Browse the repository at this point in the history
Issue #SB-31008 fix: disabling the graphs and tables feature
  • Loading branch information
Rajesh Kumaravel authored Oct 20, 2022
2 parents 05a848b + 06bd687 commit 975117f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h4 class="textbook__title sb-color-primary font-weight-bold mt-8 ml-24" >{{reso
</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>
Expand All @@ -50,7 +50,7 @@ <h4 class="textbook__title sb-color-primary font-weight-bold mt-8 ml-24" >{{reso
<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>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 975117f

Please sign in to comment.