File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
vscode-extensions/vscode-spring-boot/lib/explorer Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,10 @@ export class StructureManager {
3939 title : `Select groups to show/hide for project ${ projectName } ` ,
4040 placeHolder : 'Select groups to show/hide'
4141 } ) ;
42- this . setVisibleGroups ( projectName , items . length === selectedGroupItems . length ? undefined : selectedGroupItems . map ( i => i . group . identifier ) ) ;
42+ if ( selectedGroupItems ) {
43+ await this . setVisibleGroups ( projectName , items . length === selectedGroupItems . length ? undefined : selectedGroupItems . map ( i => i . group . identifier ) ) ;
44+ this . refresh ( false ) ;
45+ }
4346 } ) ) ;
4447 }
4548
@@ -97,7 +100,6 @@ export class StructureManager {
97100 }
98101 }
99102 await this . workspaceState . update ( `vscode-spring-boot.structure.group` , groupings ) ;
100- this . refresh ( false ) ;
101103 }
102104
103105}
You can’t perform that action at this time.
0 commit comments