mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 01:25:38 -05:00
Close insights dialog properly when escape is pressed (#1319)
This commit is contained in:
@@ -332,6 +332,10 @@ export class InsightsDialogView extends Modal {
|
||||
this._taskButtonDisposables = [];
|
||||
}
|
||||
|
||||
protected onClose(e: StandardKeyboardEvent) {
|
||||
this.close();
|
||||
}
|
||||
|
||||
private hasActions(): boolean {
|
||||
return !!(this._insight && this._insight.actions && this._insight.actions.types
|
||||
&& this._insight.actions.types.length > 0);
|
||||
|
||||
Reference in New Issue
Block a user