Fix build break from unused okButton variable (#23498)

* Remove unused variable

* Remove usage
This commit is contained in:
Karl Burtram
2023-06-27 16:08:18 -07:00
committed by GitHub
parent 0970442a5c
commit f0d496d9ab

View File

@@ -81,8 +81,6 @@ const CLEAR_COLUMN_ID = 'clear';
export class FilterDialog extends Modal {
private _okButton?: Button;
private filterTable: Table<Slick.SlickData>;
private _tableCellEditorFactory: TableCellEditorFactory;
private _onStyleChangeEventEmitter = new Emitter<void>();
@@ -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);
}