take hideIfEmpty parameter while registering of view containers

This commit is contained in:
Sandeep Somavarapu
2019-03-11 16:13:31 +01:00
parent 063f0c1365
commit ecd66fdf7e
2 changed files with 3 additions and 4 deletions

View File

@@ -275,7 +275,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
if (!viewContainer) {
viewContainer = this.viewContainersRegistry.registerViewContainer(id, extensionId);
viewContainer = this.viewContainersRegistry.registerViewContainer(id, true, extensionId);
// Register as viewlet
class CustomViewlet extends ViewContainerViewlet {