File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/vs/workbench/services/views/browser Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -242,18 +242,18 @@ export class ViewDescriptorService extends Disposable implements IViewDescriptor
242
242
}
243
243
244
244
private regroupViews ( containerId : string , views : IViewDescriptor [ ] ) : Map < string , IViewDescriptor [ ] > {
245
- const groupedViews = new Map < string , IViewDescriptor [ ] > ( ) ;
245
+ const viewsByContainer = new Map < string , IViewDescriptor [ ] > ( ) ;
246
246
247
247
for ( const viewDescriptor of views ) {
248
248
const correctContainerId = this . viewDescriptorsCustomLocations . get ( viewDescriptor . id ) ?? containerId ;
249
- let views = groupedViews . get ( correctContainerId ) ;
250
- if ( ! views ) {
251
- groupedViews . set ( correctContainerId , views = [ ] ) ;
249
+ let containerViews = viewsByContainer . get ( correctContainerId ) ;
250
+ if ( ! containerViews ) {
251
+ viewsByContainer . set ( correctContainerId , containerViews = [ ] ) ;
252
252
}
253
- views . push ( viewDescriptor ) ;
253
+ containerViews . push ( viewDescriptor ) ;
254
254
}
255
255
256
- return groupedViews ;
256
+ return viewsByContainer ;
257
257
}
258
258
259
259
getViewDescriptorById ( viewId : string ) : IViewDescriptor | null {
You can’t perform that action at this time.
0 commit comments