fix: sort by route number
This commit is contained in:
parent
6413d88ffc
commit
9bcba8ac5c
@ -68,7 +68,7 @@ public class IndexModel : PageModel
|
|||||||
{
|
{
|
||||||
OnGet();
|
OnGet();
|
||||||
|
|
||||||
if (SortString == "increasingNumber dependencies")
|
if (SortString == "increasingNumber")
|
||||||
{
|
{
|
||||||
Routes.Sort((x, y) => Math.Clamp(x.Number - y.Number, -1, 1));
|
Routes.Sort((x, y) => Math.Clamp(x.Number - y.Number, -1, 1));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user