Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
manager.themes.forEach(theme => {
palette.addItem({ command, args: { isPalette, theme }, category });
});
});
}
return manager;
},
autoStart: true,
provides: IThemeManager
};
/**
* Override Main Menu plugin from apputils-extension
*/
let nPlugins = plugins.map((p: JupyterLabPlugin) => {
switch (p.id) {
case settingPlugin.id:
return settingPlugin;
case themesPlugin.id:
return themesPlugin;
default:
return p;
}
});
nPlugins.push(serverManagerPlugin);
export default nPlugins;