mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 09:26:45 +00:00
[Plugins] Use lodash API correctly
This commit is contained in:
parent
36b5197733
commit
ed67866f45
@ -33,7 +33,7 @@ define([
|
||||
utcTimeSystem: 'platform/features/conductor/utcTimeSystem'
|
||||
};
|
||||
|
||||
var plugins = _(bundleMap).map(function (pluginName, bundleName) {
|
||||
var plugins = _.mapValues(bundleMap, function (bundleName, pluginName) {
|
||||
return function (openmct) {
|
||||
openmct.legacyRegistry.enable(bundleName);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user