Fix error in console when taking control of the strategy (#20329)
This commit is contained in:
parent
33c7e0fa2d
commit
56d328b4db
|
@ -172,12 +172,14 @@ class DialogDashboardStrategyEditor extends LitElement {
|
|||
`;
|
||||
}
|
||||
|
||||
private _takeControl() {
|
||||
private _takeControl(ev) {
|
||||
ev.stopPropagation();
|
||||
this._params!.takeControl();
|
||||
this.closeDialog();
|
||||
}
|
||||
|
||||
private _showRawConfigEditor() {
|
||||
private _showRawConfigEditor(ev) {
|
||||
ev.stopPropagation();
|
||||
this._params!.showRawConfigEditor();
|
||||
this.closeDialog();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue