mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
Merge branch 'open-master' into open1482c
Merge in latest in preparation to merge; WTD-1482 Conflicts: platform/commonUI/browse/src/creation/CreationService.js platform/core/src/models/RootModelProvider.js platform/entanglement/src/services/LinkService.js platform/entanglement/src/services/MoveService.js
This commit is contained in:
@ -50,6 +50,14 @@ define(
|
||||
// Pull out identifiers to used as ROOT's
|
||||
var ids = roots.map(function (root) { return root.id; });
|
||||
|
||||
// Assign an initial location to root models
|
||||
roots.forEach(function (root) {
|
||||
if (!root.model) {
|
||||
root.model = {};
|
||||
}
|
||||
root.model.location = 'ROOT';
|
||||
});
|
||||
|
||||
this.baseProvider = new StaticModelProvider(roots, $q, $log);
|
||||
this.rootModel = {
|
||||
name: "The root object",
|
||||
|
Reference in New Issue
Block a user