mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
Fix "Integration entries" page for yaml-based integrations (#23201)
* Update ha-config-integration-page.ts * prettier
This commit is contained in:
parent
0df8b96133
commit
829de4a073
@ -627,19 +627,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
|
||||
@ -1490,7 +1489,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