File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -678,7 +678,7 @@ export class MoveFocusedViewAction extends Action {
678
678
. map ( viewletId => {
679
679
return {
680
680
id : viewletId ,
681
- label : this . viewDescriptorService . getViewContainerById ( viewletId ) ! . title
681
+ label : this . viewDescriptorService . getViewContainerModel ( this . viewDescriptorService . getViewContainerById ( viewletId ) ! ) ! . title
682
682
} ;
683
683
} ) ) ;
684
684
@@ -699,7 +699,7 @@ export class MoveFocusedViewAction extends Action {
699
699
. map ( panel => {
700
700
return {
701
701
id : panel . id ,
702
- label : this . viewDescriptorService . getViewContainerById ( panel . id ) ! . title
702
+ label : this . viewDescriptorService . getViewContainerModel ( this . viewDescriptorService . getViewContainerById ( panel . id ) ! ) ! . title
703
703
} ;
704
704
} ) ) ;
705
705
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export class ViewsService extends Disposable implements IViewsService {
143
143
for ( const viewDescriptor of views ) {
144
144
const disposables = new DisposableStore ( ) ;
145
145
disposables . add ( this . registerOpenViewAction ( viewDescriptor ) ) ;
146
- disposables . add ( this . registerFocusViewAction ( viewDescriptor , composite ?. name ?? CATEGORIES . View ) ) ;
146
+ disposables . add ( this . registerFocusViewAction ( viewDescriptor , composite ?. name && composite . name !== composite . id ? composite . name : CATEGORIES . View ) ) ;
147
147
disposables . add ( this . registerResetViewLocationAction ( viewDescriptor ) ) ;
148
148
this . viewDisposable . set ( viewDescriptor , disposables ) ;
149
149
}
You can’t perform that action at this time.
0 commit comments