From 540bb3f27c23498653791cd140c10bf8722e4028 Mon Sep 17 00:00:00 2001 From: Sudarshan Kumar Date: Thu, 13 Aug 2020 01:08:52 +0530 Subject: Fixed Ruoting URL for Reports Fixed Ruoting URL for Reports Issue-ID: PORTAL-902 Change-Id: Icb8c95f39f312e013c384e13c4bd43e50352d47f Signed-off-by: Sudarshan Kumar --- .../analytics/Report_List/Report/definition/definition.component.ts | 6 +++--- .../src/app/pages/analytics/Report_List/Report/sql/sql.component.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ecomp-sdk/epsdk-app-overlay') diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.ts index 059c90b5..33e298d2 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.ts @@ -421,7 +421,7 @@ export class DefinitionComponent implements OnInit, OnDestroy { stackTrace = response['anyStacktrace']; stackTrace = stackTrace.substring(0, stackTrace.indexOf('-')); this.reportId = parseInt(stackTrace); - this._router.navigate(['v2/reports', 'Edit', this.reportId]); + this._router.navigate(['v2/app/reports', 'Edit', this.reportId]); } this.showDialog = !this.showDialog; this.closable = true; @@ -540,7 +540,7 @@ export class DefinitionComponent implements OnInit, OnDestroy { stackTrace = response['anyStacktrace']; stackTrace = stackTrace.substring(0, stackTrace.indexOf('-')); this.reportId = parseInt(stackTrace); - this._router.navigate(['v2/reports', 'Edit', this.reportId]); + this._router.navigate(['v2/app/reports', 'Edit', this.reportId]); } this.showDialog = !this.showDialog; this.closable = true; @@ -571,7 +571,7 @@ export class DefinitionComponent implements OnInit, OnDestroy { this._definitionService.clearSession() .subscribe((response) => { console.log(response); - this._router.navigate(['v2/report-list']); + this._router.navigate(['v2/app/report-list']); }); } diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.component.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.component.ts index c1559c75..afa84c63 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.component.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.component.ts @@ -137,7 +137,7 @@ export class SQLComponent implements OnInit { this._http.get(environment.baseUrl + 'report/wizard/retrieve_def_tab_wise_data/InSession') .subscribe((response) => { console.log(response); - this._router.navigate(['v2/reports', 'Edit', response['reportId']]); + this._router.navigate(['v2/app/reports', 'Edit', response['reportId']]); }); } } -- cgit 1.2.3-korg