mirror of
https://github.com/nasa/openmct.git
synced 2025-04-19 08:36:24 +00:00
[LinkService] Change variable name
...based on feedback from nasa/openmctweb#98
This commit is contained in:
parent
55362f6b26
commit
b4a2bfd727
@ -57,10 +57,10 @@ define(
|
||||
// that parentObject.hasCapability('composition').
|
||||
var composition = parentObject.getCapability('composition');
|
||||
|
||||
return composition.add(object).then(function (result) {
|
||||
return composition.add(object).then(function (objectInNewContext) {
|
||||
return parentObject.getCapability('persistence')
|
||||
.persist()
|
||||
.then(function () { return result; });
|
||||
.then(function () { return objectInNewContext; });
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user