mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[API] Don't use new composition for legacy objects
This commit is contained in:
parent
2af993b0bc
commit
6b5528a4fc
@ -28,7 +28,7 @@ define([
|
|||||||
// cannot be injected.
|
// cannot be injected.
|
||||||
function AlternateCompositionInitializer(openmct) {
|
function AlternateCompositionInitializer(openmct) {
|
||||||
AlternateCompositionCapability.appliesTo = function (model) {
|
AlternateCompositionCapability.appliesTo = function (model) {
|
||||||
return !!openmct.composition.get(model);
|
return !model.composition && !!openmct.composition.get(model);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user