Don't allow remote explorer views to move out of the container (#108105)

Fixes #108008
This commit is contained in:
Alex Ross 2020-10-05 14:47:50 +02:00
parent 13268f921e
commit 922eae6d61

View file

@ -488,7 +488,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
containerIcon: icon || viewContainer?.icon,
containerTitle: item.contextualTitle || viewContainer?.name,
canToggleVisibility: true,
canMoveView: true,
canMoveView: viewContainer?.id !== REMOTE,
treeView: type === ViewType.Tree ? this.instantiationService.createInstance(CustomTreeView, item.id, item.name) : undefined,
collapsed: this.showCollapsed(container) || initialVisibility === InitialVisibility.Collapsed,
order: order,