summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/properties.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models/properties.ts')
-rw-r--r--catalog-ui/src/app/models/properties.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/catalog-ui/src/app/models/properties.ts b/catalog-ui/src/app/models/properties.ts
index 65158de23d..80575c4221 100644
--- a/catalog-ui/src/app/models/properties.ts
+++ b/catalog-ui/src/app/models/properties.ts
@@ -89,12 +89,12 @@ export class PropertyModel extends PropertyBEModel implements IPropertyModel {
filterTerm:string;
isAlreadySelected:boolean;
addOn:string;
-
+ propertyView: boolean = false;
constructor(property?:PropertyModel) {
super(property);
if (property) {
- // this.constraints = property.constraints;
+ this.constraints = property.constraints;
this.source = property.source;
this.valueUniqueUid = property.valueUniqueUid;
this.path = property.path;
@@ -105,6 +105,7 @@ export class PropertyModel extends PropertyBEModel implements IPropertyModel {
this.componentInstanceId = property.componentInstanceId;
this.parentValue = property.parentValue;
this.ownerId = property.ownerId;
+ this.propertyView = property.propertyView;
}
if (!this.schema || !this.schema.property) {