mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-03 20:17:42 +03:00
sort face names alphabetically
This commit is contained in:
parent
0c1f0c235e
commit
362b86b585
@ -103,7 +103,7 @@ export default function FaceSelectionDialog({
|
|||||||
<LuPlus />
|
<LuPlus />
|
||||||
{t("createFaceLibrary.new")}
|
{t("createFaceLibrary.new")}
|
||||||
</SelectorItem>
|
</SelectorItem>
|
||||||
{faceNames.map((faceName) => (
|
{faceNames.sort().map((faceName) => (
|
||||||
<SelectorItem
|
<SelectorItem
|
||||||
key={faceName}
|
key={faceName}
|
||||||
className="flex cursor-pointer gap-2 smart-capitalize"
|
className="flex cursor-pointer gap-2 smart-capitalize"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user