display Error Log - Raptor Run Report 16/112816/1
authorSudarshan Kumar <sudarshan.kumar@att.com>
Thu, 17 Sep 2020 10:51:14 +0000 (16:21 +0530)
committerSudarshan Kumar <sudarshan.kumar@att.com>
Thu, 17 Sep 2020 10:53:00 +0000 (16:23 +0530)
display Error Log in case error found during run report

Issue-ID: PORTAL-1010
Change-Id: If65e4223dbe2f4f4f06fe6ed0877f4c6efd1f25c
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.ts

index af61a97..1142c31 100644 (file)
@@ -146,6 +146,7 @@ export class RunReportComponent implements OnInit, AfterViewInit {
                     .subscribe((response) => {
                         if (response['errormessage']) {
                             this.showError(response);
+                            this.changeDetectorRefs.detectChanges();
                         } else {
                             this.chartRunUrl = environment.baseUrl + 'raptor.htm?action=chart.run&c_master=' +
                                 this.inputReportId + this.queryString + '&refresh=Y&display_content=Y&r_page=0';
@@ -275,6 +276,7 @@ export class RunReportComponent implements OnInit, AfterViewInit {
                     .subscribe((response) => {
                         if (response['errormessage']) {
                             this.showError(response);
+                            this.changeDetectorRefs.detectChanges();
                         } else {
                             this.chartRunUrl = environment.baseUrl + 'raptor.htm?action=chart.run&c_master=' +
                                 this.inputReportId + '&refresh=Y&display_content=Y&r_page=0';
@@ -313,6 +315,7 @@ export class RunReportComponent implements OnInit, AfterViewInit {
                         .subscribe((response) => {
                             if (response['errormessage']) {
                                 this.showError(response);
+                                this.changeDetectorRefs.detectChanges();
                             } else {
                                 this.chartRunUrl = environment.baseUrl + 'raptor.htm?action=chart.run&c_master=' +
                                     this.inputReportId + this.queryString + '&refresh=Y&display_content=Y&r_page=0';
@@ -581,6 +584,7 @@ export class RunReportComponent implements OnInit, AfterViewInit {
                     .subscribe((response) => {
                         if (response['errormessage']) {
                             this.showError(response);
+                            this.changeDetectorRefs.detectChanges();
                         } else {
                             const endDate: Date = new Date();
                             const endTime = endDate.getTime();
@@ -608,6 +612,7 @@ export class RunReportComponent implements OnInit, AfterViewInit {
                     .subscribe((response) => {
                         if (response['errormessage']) {
                             this.showError(response);
+                            this.changeDetectorRefs.detectChanges();
                         } else {
                             const endDate: Date = new Date();
                             const endTime = endDate.getTime();