[API] Don't use new composition for legacy objects

This commit is contained in:
Victor Woeltjen 2016-09-30 17:22:27 -07:00
parent 2af993b0bc
commit 6b5528a4fc

View File

@ -28,7 +28,7 @@ define([
// cannot be injected.
function AlternateCompositionInitializer(openmct) {
AlternateCompositionCapability.appliesTo = function (model) {
return !!openmct.composition.get(model);
return !model.composition && !!openmct.composition.get(model);
};
}