summaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-05-13 13:28:28 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-13 13:28:28 +0000
commit02b98200878ae243329916d2909a33fedab62576 (patch)
treed8af1f89fe7bb519227808b45e25ca25f651fbe0 /cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.ts
parent425e1b49c18f4caebea2af79849e81c5aefb34b3 (diff)
parent404162a4e997feba3fd6c21f438bcfe8e1ad2281 (diff)
Merge "Fixed defect CCSDK-1326"
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.ts5
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,