diff options
author | ShaabanEltanany <shaaban.eltanany.ext@orange.com> | 2020-09-14 11:22:29 +0200 |
---|---|---|
committer | ShaabanEltanany <shaaban.eltanany.ext@orange.com> | 2020-09-14 11:22:29 +0200 |
commit | 7eaca1fd68638e301e12b565036f4ba76800e710 (patch) | |
tree | 6c7f63114dafef8ade2cfb26a3899383b8618be4 /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard | |
parent | ed5ccd2c544eb0da85342bc64308363997b3747f (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.ts | 5 |
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() { |