Plots - remove legacy code (#3814)

* Remove Lecacy plot code
* Adds tests for plots inspector
* Set range max and min to undefined instead of 0
This commit is contained in:
Shefali Joshi
2021-05-20 09:08:50 -07:00
committed by GitHub
parent a83ee1f90f
commit 605eeff9d7
109 changed files with 206 additions and 7254 deletions

View File

@ -486,6 +486,12 @@ ObjectAPI.prototype.getOriginalPath = function (identifier, path = []) {
});
};
ObjectAPI.prototype.isObjectPathToALink = function (domainObject, objectPath) {
return objectPath !== undefined
&& objectPath.length > 1
&& domainObject.location !== this.makeKeyString(objectPath[1].identifier);
};
/**
* Uniquely identifies a domain object.
*