diff options
author | 2022-05-27 11:58:10 +0100 | |
---|---|---|
committer | 2022-06-02 13:38:18 +0000 | |
commit | e159dee791441b68d142323f7d951b0592841c7f (patch) | |
tree | 246064e0cc3151f7b2604cb77531fcc6d4394fbb /catalog-ui/src/app/ng2/pages/properties-assignment/services | |
parent | 27cbc536b9a8f10e32b2189effc5466cbe571701 (diff) |
Support of get_property for instance properties
Support of get_property for INSTANCE properties, as currently only
SELF properties can be selected.
Change-Id: I80611002964a6ebb515134155c321f2d7f87811c
Issue-ID: SDC-4026
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/properties-assignment/services')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/properties-assignment/services/properties.utils.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/services/properties.utils.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/services/properties.utils.ts index 02dbf91868..70c9303c14 100644 --- a/catalog-ui/src/app/ng2/pages/properties-assignment/services/properties.utils.ts +++ b/catalog-ui/src/app/ng2/pages/properties-assignment/services/properties.utils.ts @@ -47,7 +47,9 @@ export class PropertiesUtils { if (this.dataTypeService.getDataTypeByModelAndTypeName(model, property.type)) { // if type not exist in data types remove property from list let newFEProp: PropertyFEModel = new PropertyFEModel(property); //Convert property to FE - + if (!newFEProp.parentUniqueId) { + newFEProp.parentUniqueId = instanceId; + } this.initValueObjectRef(newFEProp); //initialize valueObj AND creates flattened children propertyFeArray.push(newFEProp); newFEProp.updateExpandedChildPropertyId(newFEProp.name); //display only the first level of children |