mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 00:27:49 +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:
committed by
Bram Kragten
parent
4020bcec42
commit
4548f9daae
@@ -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