mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 10:26:35 +00:00
Hide auto-update for non advanced users (#5745)
This commit is contained in:
parent
44ad75aead
commit
808a31db2b
@ -360,14 +360,18 @@ class HassioAddonInfo extends LitElement {
|
|||||||
haptic
|
haptic
|
||||||
></ha-switch>
|
></ha-switch>
|
||||||
</div>
|
</div>
|
||||||
<div class="state">
|
${this.addon.auto_update || this.hass.userData?.showAdvanced
|
||||||
<div>Auto update</div>
|
? html`
|
||||||
<ha-switch
|
<div class="state">
|
||||||
@change=${this._autoUpdateToggled}
|
<div>Auto update</div>
|
||||||
.checked=${this.addon.auto_update}
|
<ha-switch
|
||||||
haptic
|
@change=${this._autoUpdateToggled}
|
||||||
></ha-switch>
|
.checked=${this.addon.auto_update}
|
||||||
</div>
|
haptic
|
||||||
|
></ha-switch>
|
||||||
|
</div>
|
||||||
|
`
|
||||||
|
: ""}
|
||||||
${this.addon.ingress
|
${this.addon.ingress
|
||||||
? html`
|
? html`
|
||||||
<div class="state">
|
<div class="state">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user