mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-19 18:28:42 +00:00
Fix duplicated items in strategy editor (#25600)
This commit is contained in:
committed by
Bram Kragten
parent
de56c3376e
commit
1611423ca5
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user