diff --git a/src/sql/workbench/browser/modelComponents/componentBase.ts b/src/sql/workbench/browser/modelComponents/componentBase.ts index 76a52bb1c1..54ed0a84b0 100644 --- a/src/sql/workbench/browser/modelComponents/componentBase.ts +++ b/src/sql/workbench/browser/modelComponents/componentBase.ts @@ -354,7 +354,8 @@ export abstract class ContainerBase { let component = this.modelStore.getComponent(item.descriptor.id); - if (component) { + // Let child components control their own enabled status if we don't have one specifically set + if (component && properties.enabled !== undefined) { component.enabled = this.enabled; } });