mirror of
https://github.com/nasa/openmct.git
synced 2025-04-27 14:29:59 +00:00
[Persistence] Remove persistence usage from LinkService
This commit is contained in:
parent
dd6414daf0
commit
0e683acde1
@ -65,12 +65,7 @@ define(
|
||||
);
|
||||
}
|
||||
|
||||
return parentObject.getCapability('composition').add(object)
|
||||
.then(function (objectInNewContext) {
|
||||
return parentObject.getCapability('persistence')
|
||||
.persist()
|
||||
.then(function () { return objectInNewContext; });
|
||||
});
|
||||
return parentObject.getCapability('composition').add(object);
|
||||
};
|
||||
|
||||
return LinkService;
|
||||
|
Loading…
x
Reference in New Issue
Block a user