1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-17 23:54:28 +01:00

Fix passing click handler to ha-switch in cloudhooks section (#30166)

Fix passing clickhandler to ha-switch in cloudhooks section
This commit is contained in:
Joakim Sørensen
2026-03-16 14:27:44 +01:00
committed by GitHub
parent 408efd2e2c
commit 5b09101903

View File

@@ -103,8 +103,10 @@ export class CloudWebhooks extends LitElement {
)}
</ha-button>
`
: html`<ha-switch slot="end">
: html`<ha-switch
slot="end"
@click=${this._enableWebhook}
>
</ha-switch>`}
</ha-md-list-item>
`