mirror of
https://github.com/nasa/openmct.git
synced 2025-04-29 15:30:07 +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)
|
return parentObject.getCapability('composition').add(object);
|
||||||
.then(function (objectInNewContext) {
|
|
||||||
return parentObject.getCapability('persistence')
|
|
||||||
.persist()
|
|
||||||
.then(function () { return objectInNewContext; });
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return LinkService;
|
return LinkService;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user