mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 05:47:20 +00:00
Hide "Show as" separator if there is nothing above/below it (#12219)
This commit is contained in:
parent
fb4b40b828
commit
4d1ab83b30
@ -287,7 +287,10 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) {
|
||||
</mwc-list-item>
|
||||
`
|
||||
)}
|
||||
<li divider role="separator"></li>
|
||||
${this._deviceClassOptions[0].length &&
|
||||
this._deviceClassOptions[1].length
|
||||
? html`<li divider role="separator"></li>`
|
||||
: ""}
|
||||
${this._deviceClassesSorted(
|
||||
domain,
|
||||
this._deviceClassOptions[1],
|
||||
|
Loading…
x
Reference in New Issue
Block a user