From ee773f92a10093d8b40eb83f8f044d99c2e3a549 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Fri, 12 Jul 2019 16:13:18 +0530 Subject: [PATCH] hjkl; --- .../manage-pd/list-pd/pd-report/pd-report.component.ts | 3 ++- .../qc-list/qc-pd-report/qc-pd-report.component.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-report/pd-report.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-report/pd-report.component.ts index 0a1349add..dd19deff4 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-report/pd-report.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-report/pd-report.component.ts @@ -164,7 +164,8 @@ export class PdReportComponent implements OnInit { // load pd view component loadPdViewCompoent() { - this.router.navigate(['../../viewpd', this.startPD], { relativeTo: this.route }); + // this.router.navigate(['../../viewpd', this.startPD], { relativeTo: this.route }); + this.router.navigate(['../../../viewpd', this.startPD,this.masterRandomString], {relativeTo: this.route}); } // add questions popup model call diff --git a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts index af0d3f804..a50974a9d 100644 --- a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts +++ b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts @@ -255,7 +255,8 @@ export class QcPdReportComponent implements OnInit { loadPdViewCompoent() { let getItem = localStorage.getItem('userEdits'); localStorage.removeItem('userEdits'); - this.router.navigate(['../../../viewpd',this.startPD], { relativeTo: this.route }); + this.router.navigate(['../../../viewpd',this.startPD,atob(this.route.snapshot.params['string'])], { relativeTo: this.route }); + } // add questions popup model call