diff --git a/extensions/mssql/src/objectManagement/interfaces.ts b/extensions/mssql/src/objectManagement/interfaces.ts index 445699ca6cfa..d80d57f3748a 100644 --- a/extensions/mssql/src/objectManagement/interfaces.ts +++ b/extensions/mssql/src/objectManagement/interfaces.ts @@ -476,7 +476,7 @@ export interface DatabaseViewInfo extends ObjectManagement.ObjectViewInfo { - this.objectInfo.queryStoreOptions.waitStatisticsCaptureMode = checked; - }, this.objectInfo.queryStoreOptions.waitStatisticsCaptureMode, this.areQueryStoreOptionsEnabled); - containers.push(this.waitStatisticsCaptureMode); + this.waitStatisticsCaptureMode = this.createDropdown(localizedConstants.WaitStatisticsCaptureModeText, async (newValue) => { + this.objectInfo.queryStoreOptions.waitStatisticsCaptureMode = newValue as string; + }, this.viewInfo.propertiesOnOffOptions, this.objectInfo.queryStoreOptions.waitStatisticsCaptureMode.toUpperCase(), this.areQueryStoreOptionsEnabled, DefaultInputWidth); + containers.push(this.createLabelInputContainer(localizedConstants.WaitStatisticsCaptureModeText, this.waitStatisticsCaptureMode)); } const retentionSection = this.createGroup(localizedConstants.WaitStatisticsCaptureModeText, containers, true); this.queryStoreTabSectionsContainer.push(retentionSection);