File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
python/jupyterlab_widgets/src Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ function activateWidgetExtension(
208
208
} ;
209
209
if ( settingRegistry !== null ) {
210
210
settingRegistry
211
- . load ( plugin . id )
211
+ . load ( managerPlugin . id )
212
212
. then ( ( settings : ISettingRegistry . ISettings ) => {
213
213
settings . changed . connect ( updateSettings ) ;
214
214
updateSettings ( settings ) ;
@@ -261,9 +261,11 @@ function activateWidgetExtension(
261
261
label : trans . __ ( 'Save Widget State Automatically' ) ,
262
262
execute : ( args ) => {
263
263
return settingRegistry
264
- . set ( plugin . id , 'saveState' , ! SETTINGS . saveState )
264
+ . set ( managerPlugin . id , 'saveState' , ! SETTINGS . saveState )
265
265
. catch ( ( reason : Error ) => {
266
- console . error ( `Failed to set ${ plugin . id } : ${ reason . message } ` ) ;
266
+ console . error (
267
+ `Failed to set ${ managerPlugin . id } : ${ reason . message } `
268
+ ) ;
267
269
} ) ;
268
270
} ,
269
271
isToggled : ( ) => SETTINGS . saveState ,
You can’t perform that action at this time.
0 commit comments