mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 15:56:35 +00:00
Do not allow disabling managed webhooks (#2921)
This commit is contained in:
parent
e55ca54509
commit
c9eea4acc1
@ -60,10 +60,17 @@ export class CloudWebhookManageDialog extends LitElement {
|
|||||||
@blur="${this._restoreLabel}"
|
@blur="${this._restoreLabel}"
|
||||||
></paper-input>
|
></paper-input>
|
||||||
<p>
|
<p>
|
||||||
If you no longer want to use this webhook, you can
|
${cloudhook.managed
|
||||||
<button class="link" @click="${this._disableWebhook}">
|
? html`
|
||||||
disable it</button
|
This webhook is managed by an integration and cannot be
|
||||||
>.
|
disabled.
|
||||||
|
`
|
||||||
|
: html`
|
||||||
|
If you no longer want to use this webhook, you can
|
||||||
|
<button class="link" @click="${this._disableWebhook}">
|
||||||
|
disable it</button
|
||||||
|
>.
|
||||||
|
`}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user