@urso/core 0.7.93-dev → 0.7.95-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -458,7 +458,10 @@ class PropertyAdapter {
|
|
|
458
458
|
return this._getRoundedPercentageOfNumber(object[propertyName], parentValue);
|
|
459
459
|
|
|
460
460
|
case 'boolean':
|
|
461
|
-
|
|
461
|
+
if (this._canBeParent(object))
|
|
462
|
+
return this._getPropertyAsNumber(object.parent, propertyName, parentPropertyName);
|
|
463
|
+
else
|
|
464
|
+
return object._baseObject[propertyName];
|
|
462
465
|
|
|
463
466
|
default:
|
|
464
467
|
Urso.logger.error('Property value not number or string!', object, propertyName);
|