diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-05-21 20:12:12 +0530 |
---|---|---|
committer | Arundathi Patil <arundpil@in.ibm.com> | 2019-05-21 20:13:16 +0530 |
commit | d5739fde3a668c4f657ea900b93377e17743202c (patch) | |
tree | fcfbedaaf9b6e6af65ae6d8376a1a0c8119ce86f /cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts | |
parent | acbcd280dc9d04ed303ed994872a0f3ba6adbab3 (diff) |
Fixed defect CCSDK-1339
Fixed defect ccsdk-1339
Issue-ID: CCSDK-1339
Change-Id: Iabf12c0c7430cda9a259d1917f344d58c432bd05
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts | 5 |
1 files changed, 4 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 1d0ba2c39..c232414e0 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>) { } @@ -79,7 +80,8 @@ export class SearchTemplateComponent implements OnInit { name: this.blueprintName, files: this.tree, filesData: this.paths, - uploadedFileName: this.uploadedFileName + uploadedFileName: this.uploadedFileName, + entryDefinition: this.entryDefinition } this.store.dispatch(new SetBlueprintState(blueprintState)) // this.store.dispatch(new LoadBlueprintSuccess(data)); @@ -145,6 +147,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); |