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:
@@ -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>
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user