From f0d496d9ab0f77509f69e2fab0735c8a4b4b4839 Mon Sep 17 00:00:00 2001 From: Karl Burtram Date: Tue, 27 Jun 2023 16:08:18 -0700 Subject: [PATCH] Fix build break from unused okButton variable (#23498) * Remove unused variable * Remove usage --- .../objectExplorer/browser/filterDialog/filterDialog.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/sql/workbench/services/objectExplorer/browser/filterDialog/filterDialog.ts b/src/sql/workbench/services/objectExplorer/browser/filterDialog/filterDialog.ts index 8508d29f8d..ee458ef45f 100644 --- a/src/sql/workbench/services/objectExplorer/browser/filterDialog/filterDialog.ts +++ b/src/sql/workbench/services/objectExplorer/browser/filterDialog/filterDialog.ts @@ -81,8 +81,6 @@ const CLEAR_COLUMN_ID = 'clear'; export class FilterDialog extends Modal { - private _okButton?: Button; - private filterTable: Table; private _tableCellEditorFactory: TableCellEditorFactory; private _onStyleChangeEventEmitter = new Emitter(); @@ -139,7 +137,7 @@ export class FilterDialog extends Modal { this.title = this._filterDialogTitle; this.titleIconClassName = TitleIconClass; this._register(attachModalDialogStyler(this, this._themeService)); - this._okButton = this.addFooterButton(OkButtonText, async () => { await this.onApply() }); + this.addFooterButton(OkButtonText, async () => { await this.onApply() }); this.addFooterButton(CancelButtonText, () => { this.onClose() }); this.addFooterButton(ClearAllButtonText, () => { this.onClearAll() }, 'left', true); }