Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Add ability to enable / disable collapsible notebook cells #132

Merged
merged 12 commits into from
May 12, 2020
Prev Previous commit
Next Next commit
Update description of loading settings
Co-authored-by: Athan <kgryte@gmail.com>
  • Loading branch information
Martha Cryan and kgryte authored May 6, 2020
commit 5b7e351ffa5980e5767326bc4c93fbf274c02a67
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function activateTOC(
// Add the ToC widget to the application restorer:
restorer.add(toc, 'juputerlab-toc');
kgryte marked this conversation as resolved.
Show resolved Hide resolved

// Load the configuration of whether to enable collapsing behavior
// Attempt to load plugin settings:
settingRegistry.load('@jupyterlab/toc:plugin').then(settings => {
marthacryan marked this conversation as resolved.
Show resolved Hide resolved
const config = settings.get('tocConfig').composite as JSONObject;
const collapsibleNotebooks = config.collapsibleNotebooks as boolean;
Expand Down