mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 22:36:35 +00:00
Fix logs overflow when there are 0 boots (#22694)
This commit is contained in:
parent
04a45a4361
commit
ed3096157c
@ -242,6 +242,8 @@ class ErrorLogCard extends LitElement {
|
|||||||
.label=${this.hass.localize("ui.common.refresh")}
|
.label=${this.hass.localize("ui.common.refresh")}
|
||||||
></ha-icon-button>`
|
></ha-icon-button>`
|
||||||
: nothing}
|
: nothing}
|
||||||
|
${this._streamSupported && Array.isArray(this._boots)
|
||||||
|
? html`
|
||||||
<ha-button-menu @action=${this._handleOverflowAction}>
|
<ha-button-menu @action=${this._handleOverflowAction}>
|
||||||
<ha-icon-button slot="trigger" .path=${mdiDotsVertical}>
|
<ha-icon-button slot="trigger" .path=${mdiDotsVertical}>
|
||||||
</ha-icon-button>
|
</ha-icon-button>
|
||||||
@ -255,6 +257,8 @@ class ErrorLogCard extends LitElement {
|
|||||||
)}
|
)}
|
||||||
</ha-list-item>
|
</ha-list-item>
|
||||||
</ha-button-menu>
|
</ha-button-menu>
|
||||||
|
`
|
||||||
|
: nothing}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content error-log">
|
<div class="card-content error-log">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user