diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-05-13 14:41:15 +0530 |
---|---|---|
committer | Arundathi Patil <arundpil@in.ibm.com> | 2019-05-13 14:42:41 +0530 |
commit | 404162a4e997feba3fd6c21f438bcfe8e1ad2281 (patch) | |
tree | 2dbaecd5797a0d9a787b0338b9164953cef5058e /cds-ui/client/src/app/feature-modules/blueprint/select-template | |
parent | 7bace3db55c2ca51431e88191cc7a8587d7aa508 (diff) |
Fixed defect CCSDK-1326
fixed defect ccsdk-1326
Issue-ID; CCSDK-1326
Change-Id: Ibfc6d6df0fa47569e326fd9e61227e08c36aa0c2
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template')
-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 9c11f7684..1d0ba2c39 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 @@ -78,7 +78,8 @@ export class SearchTemplateComponent implements OnInit { blueprint: data, name: this.blueprintName, files: this.tree, - filesData: this.paths + filesData: this.paths, + uploadedFileName: this.uploadedFileName } this.store.dispatch(new SetBlueprintState(blueprintState)) // this.store.dispatch(new LoadBlueprintSuccess(data)); @@ -87,7 +88,9 @@ export class SearchTemplateComponent implements OnInit { async buildFileViewData(zip) { this.validfile = false; this.paths = []; + console.log(zip.files); for (var file in zip.files) { + console.log("name: " +zip.files[file].name); this.fileObject = { // nameForUIDisplay: this.uploadedFileName + '/' + zip.files[file].name, // name: zip.files[file].name, |