From: Sudarshan Kumar Date: Thu, 17 Sep 2020 10:51:14 +0000 (+0530) Subject: display Error Log - Raptor Run Report X-Git-Tag: 3.3.0~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F112663%2F1;p=portal%2Fsdk.git display Error Log - Raptor Run Report display Error Log in case error found during run report Issue-ID: PORTAL-1010 Change-Id: If65e4223dbe2f4f4f06fe6ed0877f4c6efd1f25c Signed-off-by: Sudarshan Kumar (cherry picked from commit 10db6965b7a40b7fc8cbde9e9dc04f3dc097f4d3) --- diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.ts index af61a97c..1142c318 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.ts @@ -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();