mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix build break from unused okButton variable (#23498)
* Remove unused variable * Remove usage
This commit is contained in:
@@ -81,8 +81,6 @@ const CLEAR_COLUMN_ID = 'clear';
|
|||||||
|
|
||||||
export class FilterDialog extends Modal {
|
export class FilterDialog extends Modal {
|
||||||
|
|
||||||
private _okButton?: Button;
|
|
||||||
|
|
||||||
private filterTable: Table<Slick.SlickData>;
|
private filterTable: Table<Slick.SlickData>;
|
||||||
private _tableCellEditorFactory: TableCellEditorFactory;
|
private _tableCellEditorFactory: TableCellEditorFactory;
|
||||||
private _onStyleChangeEventEmitter = new Emitter<void>();
|
private _onStyleChangeEventEmitter = new Emitter<void>();
|
||||||
@@ -139,7 +137,7 @@ export class FilterDialog extends Modal {
|
|||||||
this.title = this._filterDialogTitle;
|
this.title = this._filterDialogTitle;
|
||||||
this.titleIconClassName = TitleIconClass;
|
this.titleIconClassName = TitleIconClass;
|
||||||
this._register(attachModalDialogStyler(this, this._themeService));
|
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(CancelButtonText, () => { this.onClose() });
|
||||||
this.addFooterButton(ClearAllButtonText, () => { this.onClearAll() }, 'left', true);
|
this.addFooterButton(ClearAllButtonText, () => { this.onClearAll() }, 'left', true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user