sort the objects list

This commit is contained in:
Leonardo Merza 2025-06-18 21:21:08 -04:00
parent 42cae5d9ee
commit 3abab0e700

View File

@ -13,9 +13,14 @@ Please note:
- `person` is the only tracked object by default. See the [full configuration reference](reference.md) for an example of expanding the list of tracked objects. - `person` is the only tracked object by default. See the [full configuration reference](reference.md) for an example of expanding the list of tracked objects.
<ul> <ul>
{labels.split("\n").map((label) => ( {labels
<li>{label.replace(/^\d+\s+/, "")}</li> .split("\n")
))} .sort((a, b) =>
a.replace(/^\d+\s+/, "").localeCompare(b.replace(/^\d+\s+/, ""))
)
.map((label) => (
<li>{label.replace(/^\d+\s+/, "")}</li>
))}
</ul> </ul>
## Custom Models ## Custom Models