diff options
author | KAPIL SINGAL <ks220y@att.com> | 2020-06-22 18:14:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-06-22 18:14:26 +0000 |
commit | ee2c950e05901c92fd45a24898b7e8bb2418bc77 (patch) | |
tree | 637217328844c78a56781136dd87f97f542370cb /cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.ts | |
parent | 201684fa7d04804d5d833d0876c6eb79f44232e1 (diff) | |
parent | 366fe0541cd76e93276d20e84db315c591c3cae7 (diff) |
Merge "add delete button in template&mapping view"
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.ts index 662d8d3f3..af6ced092 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/template-mapping.component.ts @@ -27,6 +27,9 @@ export class TemplateMappingComponent implements OnInit { this.listView = false; console.log('URL contains Id'); this.sharedService.enableEdit(); + if (this.pakcageStore.state.mapping.files.size > 0 || this.pakcageStore.state.templates.files.size > 0) { + this.openListView(); + } } else { console.log('Create mode'); this.pakcageStore.clear(); |