diff options
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts index 9c11f7684..25f85de77 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts @@ -53,6 +53,7 @@ export class SearchTemplateComponent implements OnInit { private activationBlueprint: any; private tocsaMetadaData: any; private blueprintName: string; + private entryDefinition: string; constructor(private store: Store<IAppState>) { } @@ -78,7 +79,9 @@ export class SearchTemplateComponent implements OnInit { blueprint: data, name: this.blueprintName, files: this.tree, - filesData: this.paths + filesData: this.paths, + uploadedFileName: this.uploadedFileName, + entryDefinition: this.entryDefinition } this.store.dispatch(new SetBlueprintState(blueprintState)) // this.store.dispatch(new LoadBlueprintSuccess(data)); @@ -142,6 +145,7 @@ export class SearchTemplateComponent implements OnInit { this.activationBlueprint = path.data; newPart.data = JSON.parse(this.activationBlueprint.toString()); console.log('newpart', newPart); + this.entryDefinition = path.name.trim(); } if(newPart.name !== '') { currentLevel.push(newPart); |