summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudarshan Kumar <sudarshan.kumar@att.com>2020-09-17 16:21:14 +0530
committerSudarshan Kumar <sudarshan.kumar@att.com>2020-09-17 14:55:52 +0000
commitd443f536cb5f6de0d82e8d0b89141bda6ef46b23 (patch)
tree42c648a58d244f97a015d72150f41879d827a3e7
parentac7c46b5f4af8b85671270dfe1027e780bf5de0f (diff)
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 <sudarshan.kumar@att.com> (cherry picked from commit 10db6965b7a40b7fc8cbde9e9dc04f3dc097f4d3)
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.ts5
1 files changed, 5 insertions, 0 deletions
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();