summaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts')
-rw-r--r--src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts
index 80269cb..3c95859 100644
--- a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts
+++ b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts
@@ -252,7 +252,7 @@ export class ParameterComponent implements OnInit {
this.displayParamObjects = [];
this.modelParamDefinitionObjects = [];
if (this.paramShareService.getSessionParamData() != undefined && this.paramShareService.getSessionParamData().length > 0) {
- this.displayParamObjects = this.paramShareService.getSessionParamData();
+ this.getPDFromSession();
} else {
this.getPD();
}
@@ -296,6 +296,21 @@ export class ParameterComponent implements OnInit {
}
+ public getPDFromSession() {
+
+ this.ngProgress.start();
+ return this.httpService.get({
+ url: 'testurl',
+ }).subscribe(data => {
+ this.displayParamObjects = this.paramShareService.getSessionParamData();
+ this.ngProgress.done();
+ },
+ error => {
+ this.displayParamObjects = this.paramShareService.getSessionParamData();
+ this.ngProgress.done();
+ });
+ }
+
//========================== End of NGInit() Method============================================
selectedNavItem(item: any) {
this.item = item;