mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
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…
x
Reference in New Issue
Block a user