diff --git a/src/vs/workbench/common/views.ts b/src/vs/workbench/common/views.ts index ae45d960b9c..08af54f22bd 100644 --- a/src/vs/workbench/common/views.ts +++ b/src/vs/workbench/common/views.ts @@ -92,7 +92,7 @@ class ViewContainersRegistryImpl implements IViewContainersRegistry { const viewContainer = new class extends ViewContainer { constructor() { - super(id, hideIfEmpty, extensionId); + super(id, !!hideIfEmpty, extensionId); } }; this.viewContainers.set(id, viewContainer);