mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 07:46:37 +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>
|
</mwc-list-item>
|
||||||
`
|
`
|
||||||
)}
|
)}
|
||||||
<li divider role="separator"></li>
|
${this._deviceClassOptions[0].length &&
|
||||||
|
this._deviceClassOptions[1].length
|
||||||
|
? html`<li divider role="separator"></li>`
|
||||||
|
: ""}
|
||||||
${this._deviceClassesSorted(
|
${this._deviceClassesSorted(
|
||||||
domain,
|
domain,
|
||||||
this._deviceClassOptions[1],
|
this._deviceClassOptions[1],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user