We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ConfigSection
1 parent 465aa05 commit e997c36Copy full SHA for e997c36
src/plugin.tsx
@@ -55,13 +55,14 @@ function activate(
55
translator: ITranslator | null
56
): ITourManager {
57
const CONFIG_SECTION_NAME = corePlugin.id.replace(/[^\w]/g, '');
58
- const { commands } = app;
+ const { commands, serviceManager } = app;
59
60
translator = translator ?? nullTranslator;
61
62
const restoreState = new PromiseDelegate<ITourState[]>();
63
const configReady = ConfigSection.create({
64
- name: CONFIG_SECTION_NAME
+ name: CONFIG_SECTION_NAME,
65
+ serverSettings: serviceManager.serverSettings
66
}).catch(error => {
67
console.error('Failed to fetch state for jupyterlab-tour.', error);
68
});
0 commit comments