mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Fix duplicated items in strategy editor (#25600)
This commit is contained in:
parent
629eb29d42
commit
3532cfa974
@ -262,7 +262,7 @@ export class HaItemDisplayEditor extends LitElement {
|
||||
];
|
||||
}
|
||||
|
||||
return items.sort((a, b) =>
|
||||
return visibleItems.sort((a, b) =>
|
||||
a.disableSorting && !b.disableSorting ? -1 : compare(a.value, b.value)
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user