mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
Fix "Integration entries" page for yaml-based integrations (#23201)
* Update ha-config-integration-page.ts * prettier
This commit is contained in:
parent
9774deef6d
commit
bf24d67066
@ -630,19 +630,18 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
||||
"ui.panel.config.integrations.integration_page.no_entries"
|
||||
)}
|
||||
</div>`
|
||||
: nothing}
|
||||
<ha-md-list>
|
||||
${normalEntries.map(
|
||||
(item, index) =>
|
||||
html`${this._renderConfigEntry(item)}
|
||||
${index < normalEntries.length - 1
|
||||
? html` <ha-md-divider
|
||||
role="separator"
|
||||
tabindex="-1"
|
||||
></ha-md-divider>`
|
||||
: nothing}`
|
||||
)}
|
||||
</ha-md-list>
|
||||
: html`<ha-md-list>
|
||||
${normalEntries.map(
|
||||
(item, index) =>
|
||||
html`${this._renderConfigEntry(item)}
|
||||
${index < normalEntries.length - 1
|
||||
? html` <ha-md-divider
|
||||
role="separator"
|
||||
tabindex="-1"
|
||||
></ha-md-divider>`
|
||||
: nothing}`
|
||||
)}
|
||||
</ha-md-list>`}
|
||||
<div class="card-actions">
|
||||
<ha-button @click=${this._addIntegration}>
|
||||
${this._manifest?.integration_type
|
||||
@ -1493,7 +1492,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.no-entries {
|
||||
padding-top: 12px;
|
||||
padding: 12px 16px;
|
||||
}
|
||||
.logo-container {
|
||||
display: flex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user