mirror of
https://github.com/nasa/openmct.git
synced 2025-04-17 15:59:09 +00:00
[Persistence] Report space by identifier
This commit is contained in:
parent
99f3b986b6
commit
822b4ae96f
@ -130,6 +130,10 @@ define(
|
||||
* be used to persist this object
|
||||
*/
|
||||
PersistenceCapability.prototype.getSpace = function () {
|
||||
if (this.domainObject.getId().indexOf(":") !== -1) {
|
||||
return this.domainObject.getId().split(":")[0];
|
||||
}
|
||||
|
||||
return this.space;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user