From 10db6965b7a40b7fc8cbde9e9dc04f3dc097f4d3 Mon Sep 17 00:00:00 2001 From: Sudarshan Kumar Date: Thu, 17 Sep 2020 16:21:14 +0530 Subject: 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 --- .../Report_List/Report/run/run-report/run-report.component.ts | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- cgit 1.2.3-korg