diff options
author | imamSidero <imam.hussain@est.tech> | 2023-03-07 07:38:21 +0000 |
---|---|---|
committer | imamSidero <imam.hussain@est.tech> | 2023-03-07 07:38:21 +0000 |
commit | 4f479bcc0247dbdd78190d89b00048bb57fc2312 (patch) | |
tree | d0738924fbba469b49319452eca97aa89d534f3b /catalog-ui/src/app/ng2 | |
parent | e3f4b966a2105841a40450ca13f9e6937868107d (diff) |
Fix issue on tosca button enable/disable functionality
Fixed tosca button functionality to enabled/disabled as per the main checkbox as well as the child checkbox
Issue-ID: SDC-4425
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: I9f215432c20a89e90f6c1293835e30b359a05db0
Diffstat (limited to 'catalog-ui/src/app/ng2')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts index 7fef3532a3..a1e4f415be 100644 --- a/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts +++ b/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts @@ -1200,6 +1200,8 @@ export class PropertiesAssignmentComponent { //used for declare button, to keep count of newly checked properties (and ignore declared properties) updateCheckedPropertyCount = (increment: boolean): void => { this.checkedPropertiesCount += (increment) ? 1 : -1; + this.checkedToscaCount = 0; + this.enableToscaFunction = false; console.debug("CheckedProperties count is now.... " + this.checkedPropertiesCount); }; |