mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 13:26:34 +00:00
Improve entity registry errors display (#8208)
This commit is contained in:
parent
870f0bcbb1
commit
6f4dbdc959
@ -141,8 +141,8 @@ export class EntityRegistrySettingsHelper extends LitElement {
|
||||
}
|
||||
const stateObj = this.hass.states[this.entry.entity_id];
|
||||
return html`
|
||||
${this._error ? html` <div class="error">${this._error}</div> ` : ""}
|
||||
<div class="form">
|
||||
${this._error ? html` <div class="error">${this._error}</div> ` : ""}
|
||||
${!this._componentLoaded
|
||||
? this.hass.localize(
|
||||
"ui.dialogs.helper_settings.platform_not_loaded",
|
||||
@ -268,6 +268,7 @@ export class EntityRegistrySettingsHelper extends LitElement {
|
||||
}
|
||||
.error {
|
||||
color: var(--error-color);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.row {
|
||||
margin-top: 8px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user