mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Disable beta menu instead of hiding (#20906)
This commit is contained in:
parent
f97971faf6
commit
b38a348957
@ -82,10 +82,13 @@ class HaConfigSectionUpdates extends LitElement {
|
||||
>
|
||||
${this.hass.localize("ui.panel.config.updates.show_skipped")}
|
||||
</ha-check-list-item>
|
||||
${this._supervisorInfo && this._supervisorInfo.channel !== "dev"
|
||||
${this._supervisorInfo
|
||||
? html`
|
||||
<li divider role="separator"></li>
|
||||
<mwc-list-item @request-selected=${this._toggleBeta}>
|
||||
<mwc-list-item
|
||||
@request-selected=${this._toggleBeta}
|
||||
.disabled=${this._supervisorInfo.channel === "dev"}
|
||||
>
|
||||
${this._supervisorInfo.channel === "stable"
|
||||
? this.hass.localize("ui.panel.config.updates.join_beta")
|
||||
: this.hass.localize(
|
||||
|
Loading…
x
Reference in New Issue
Block a user