Fix mouseevent in blueprint import popup (#8432)

This commit is contained in:
Joakim Sørensen 2021-02-22 17:56:43 +01:00 committed by GitHub
parent ef0bfb237a
commit e33aff7cf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ class HaBlueprintOverview extends LitElement {
"ui.panel.config.blueprint.overview.add_blueprint"
)}
extended
@click=${this._addBlueprint}
@click=${this._addBlueprintClicked}
>
<ha-svg-icon slot="icon" .path=${mdiDownload}></ha-svg-icon>
</ha-fab>
@ -249,6 +249,10 @@ class HaBlueprintOverview extends LitElement {
});
}
private _addBlueprintClicked(): void {
this._addBlueprint();
}
private _reload() {
fireEvent(this, "reload-blueprints");
}