summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-07-22 11:41:00 +0100
committerAndr� Schmid <andre.schmid@est.tech>2022-07-22 16:20:05 +0000
commitc3d496eb36910d348ea6719e1df74fbc91326ebb (patch)
treec579b7020680b9dd41f3dcfc495be11a52d314cb /catalog-ui/src/app
parentd261d0b22f10e05690f7d3dd7a98a6fedafc2208 (diff)
Save button disabled in update property in composition view
when adding a tosca function Issue-ID: SDC-4110 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ifab34b81bc2546698344db2f0f7c07aab592cbdb
Diffstat (limited to 'catalog-ui/src/app')
-rw-r--r--catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts b/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
index 008858d43d..1419f3a217 100644
--- a/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
+++ b/catalog-ui/src/app/view-models/forms/property-forms/component-property-form/property-form-view-model.ts
@@ -457,8 +457,8 @@ export class PropertyFormViewModel {
this.$scope.editPropertyModel.property.toscaFunction = toscaGetFunction;
}
- this.$scope.onGetFunctionValidityChange = (isValid: boolean): void => {
- if (isValid) {
+ this.$scope.onGetFunctionValidityChange = (isValid): void => {
+ if (isValid.isValid) {
this.$scope.editPropertyModel.isGetFunctionValid = true;
return;
}