mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +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,8 +627,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
|||||||
"ui.panel.config.integrations.integration_page.no_entries"
|
"ui.panel.config.integrations.integration_page.no_entries"
|
||||||
)}
|
)}
|
||||||
</div>`
|
</div>`
|
||||||
: nothing}
|
: html`<ha-md-list>
|
||||||
<ha-md-list>
|
|
||||||
${normalEntries.map(
|
${normalEntries.map(
|
||||||
(item, index) =>
|
(item, index) =>
|
||||||
html`${this._renderConfigEntry(item)}
|
html`${this._renderConfigEntry(item)}
|
||||||
@ -639,7 +638,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
|||||||
></ha-md-divider>`
|
></ha-md-divider>`
|
||||||
: nothing}`
|
: nothing}`
|
||||||
)}
|
)}
|
||||||
</ha-md-list>
|
</ha-md-list>`}
|
||||||
<div class="card-actions">
|
<div class="card-actions">
|
||||||
<ha-button @click=${this._addIntegration}>
|
<ha-button @click=${this._addIntegration}>
|
||||||
${this._manifest?.integration_type
|
${this._manifest?.integration_type
|
||||||
@ -1490,7 +1489,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
|
|||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
.no-entries {
|
.no-entries {
|
||||||
padding-top: 12px;
|
padding: 12px 16px;
|
||||||
}
|
}
|
||||||
.logo-container {
|
.logo-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user