Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
activate: (app: JupyterFrontEnd, statusBar: IStatusBar) => {
const item = new RunningSessions({
onClick: () => app.shell.activateById('jp-running-sessions'),
serviceManager: app.serviceManager
});
statusBar.registerStatusItem(
'@jupyterlab/statusbar-extension:running-sessions-status',
{
item,
align: 'left',
rank: 0
}
);
}
};
activate: (app: JupyterFrontEnd, statusBar: IStatusBar) => {
const item = new RunningSessions({
onClick: () => app.shell.activateById('jp-running-sessions'),
serviceManager: app.serviceManager
});
statusBar.registerStatusItem(
'@jupyterlab/statusbar-extension:running-sessions-status',
{
item,
align: 'left',
rank: 0
}
);
}
};