mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Fix all hardware button (#15579)
This commit is contained in:
parent
0a49bf2d4c
commit
7724fa02d7
@ -327,8 +327,11 @@ class HaConfigHardware extends SubscribeMixin(LitElement) {
|
|||||||
: ""}
|
: ""}
|
||||||
</mwc-list>
|
</mwc-list>
|
||||||
</div>
|
</div>
|
||||||
${boardConfigEntries.length
|
${boardConfigEntries.length ||
|
||||||
|
isComponentLoaded(this.hass, "hassio")
|
||||||
? html`<div class="card-actions">
|
? html`<div class="card-actions">
|
||||||
|
${boardConfigEntries.length
|
||||||
|
? html`
|
||||||
<mwc-button
|
<mwc-button
|
||||||
.entry=${boardConfigEntries[0]}
|
.entry=${boardConfigEntries[0]}
|
||||||
@click=${this._openOptionsFlow}
|
@click=${this._openOptionsFlow}
|
||||||
@ -337,6 +340,8 @@ class HaConfigHardware extends SubscribeMixin(LitElement) {
|
|||||||
"ui.panel.config.hardware.configure"
|
"ui.panel.config.hardware.configure"
|
||||||
)}
|
)}
|
||||||
</mwc-button>
|
</mwc-button>
|
||||||
|
`
|
||||||
|
: null}
|
||||||
${isComponentLoaded(this.hass, "hassio")
|
${isComponentLoaded(this.hass, "hassio")
|
||||||
? html`
|
? html`
|
||||||
<mwc-button @click=${this._openHardware}>
|
<mwc-button @click=${this._openHardware}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user