summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard
diff options
context:
space:
mode:
authorShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-09-14 11:22:29 +0200
committerShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-09-14 11:22:29 +0200
commit7eaca1fd68638e301e12b565036f4ba76800e710 (patch)
tree6c7f63114dafef8ade2cfb26a3899383b8618be4 /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard
parented5ccd2c544eb0da85342bc64308363997b3747f (diff)
change beahvior of edit
enable editing in package version only Issue-ID: CCSDK-2336 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: I5878b463f08dc3575ea90cd65611389eacbb8b4f
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts
index 09434bc17..42b7af9a5 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts
@@ -169,10 +169,11 @@ export class ConfigurationDashboardComponent extends ComponentCanDeactivate impl
}
editBluePrint() {
- if (this.cbaPackage) {
+ this.configurationDashboardService.deletePackage(this.viewedPackage.id).subscribe(res => {
this.formTreeData();
this.saveBluePrintToDataBase();
- }
+
+ });
}
private formTreeData() {