summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/services
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-07-18 18:29:04 +0300
committerIdan Amit <ia096e@intl.att.com>2018-07-18 19:25:37 +0300
commitc75126447fae0418293491ea2a38fb03d12b157e (patch)
tree0d3ae481c581b4a66010bb2967ab461b2032d77d /catalog-ui/src/app/ng2/services
parenta555c46e2065c2de1de87f26f5a829be5ef0d403 (diff)
Fixed not needed derived from properties
Removed derived from property that we're added before Fixed the properties assignments page to work with the new state Change-Id: I36cb09c3e1cb2839e2fac5bd8a7c9c063e36613f Issue-ID: SDC-1514 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/services')
-rw-r--r--catalog-ui/src/app/ng2/services/data-type.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/services/data-type.service.ts b/catalog-ui/src/app/ng2/services/data-type.service.ts
index e2489c6ec2..d79cfc621f 100644
--- a/catalog-ui/src/app/ng2/services/data-type.service.ts
+++ b/catalog-ui/src/app/ng2/services/data-type.service.ts
@@ -57,7 +57,7 @@ export class DataTypeService {
});
}
//recurse parent (derivedFrom), in case one of parents contains properties
- if (dataTypeObj.derivedFrom && PROPERTY_DATA.ROOT_DATA_TYPE == dataTypeObj.derivedFrom.name) {
+ if (dataTypeObj.derivedFrom && PROPERTY_DATA.ROOT_DATA_TYPE !== dataTypeObj.derivedFrom.name) {
this.getDerivedDataTypeProperties(dataTypeObj.derivedFrom, propertiesArray, parentName);
}
}