aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2023-01-20 10:26:17 +0000
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-01-23 15:28:36 +0000
commit3da7d9867ab91b58f2a765d24731b45a3f43841c (patch)
tree4ad6613189cf0515100566bed4e04f5e7b5c690a
parentb3a71f9ed5cc99a9d2104e1dba1278a44f087bb3 (diff)
Fix constraint not added when creating property
Issue-ID: SDC-4342 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I4bc4751993b47e85a8acf31c94febee92996232a
-rw-r--r--catalog-ui/src/app/models/properties.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/properties.ts b/catalog-ui/src/app/models/properties.ts
index 91245967b0..65158de23d 100644
--- a/catalog-ui/src/app/models/properties.ts
+++ b/catalog-ui/src/app/models/properties.ts
@@ -129,6 +129,7 @@ export class PropertyModel extends PropertyBEModel implements IPropertyModel {
"defaultValue": this.defaultValue != "" && this.defaultValue != "[]" && this.defaultValue != "{}" ? this.defaultValue : null,
"description": this.description,
"constraints": this.constraints,
+ "propertyConstraints": this.propertyConstraints,
"isPassword": this.password || false,
"schema": this.schema,
"name": this.name