mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
Hide hardware integrations in brand sub-menu (#26252)
* Hide hardware integrations in brand sub-menu * Filter before sort
This commit is contained in:
parent
13868478f7
commit
c13a80ce5e
@ -125,6 +125,7 @@ class HaDomainIntegrations extends LitElement {
|
||||
"integrations" in this.integration &&
|
||||
this.integration.integrations
|
||||
? Object.entries(this.integration.integrations)
|
||||
.filter(([, val]) => val.integration_type !== "hardware")
|
||||
.sort((a, b) => {
|
||||
if (a[1].config_flow && !b[1].config_flow) {
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user