mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-26 22:37:21 +00:00
Fix mouseevent in blueprint import popup (#8432)
This commit is contained in:
parent
ef0bfb237a
commit
e33aff7cf3
@ -211,7 +211,7 @@ class HaBlueprintOverview extends LitElement {
|
|||||||
"ui.panel.config.blueprint.overview.add_blueprint"
|
"ui.panel.config.blueprint.overview.add_blueprint"
|
||||||
)}
|
)}
|
||||||
extended
|
extended
|
||||||
@click=${this._addBlueprint}
|
@click=${this._addBlueprintClicked}
|
||||||
>
|
>
|
||||||
<ha-svg-icon slot="icon" .path=${mdiDownload}></ha-svg-icon>
|
<ha-svg-icon slot="icon" .path=${mdiDownload}></ha-svg-icon>
|
||||||
</ha-fab>
|
</ha-fab>
|
||||||
@ -249,6 +249,10 @@ class HaBlueprintOverview extends LitElement {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private _addBlueprintClicked(): void {
|
||||||
|
this._addBlueprint();
|
||||||
|
}
|
||||||
|
|
||||||
private _reload() {
|
private _reload() {
|
||||||
fireEvent(this, "reload-blueprints");
|
fireEvent(this, "reload-blueprints");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user