release: 2026.05.1 — distributed probing, config-as-code, TUI polish #15
@@ -508,9 +508,11 @@ func (m *Model) refreshData() {
|
|||||||
sort.Slice(groups, func(i, j int) bool { return groups[i].ID < groups[j].ID })
|
sort.Slice(groups, func(i, j int) bool { return groups[i].ID < groups[j].ID })
|
||||||
for pid := range children {
|
for pid := range children {
|
||||||
c := children[pid]
|
c := children[pid]
|
||||||
|
sort.Slice(c, func(i, j int) bool { return c[i].ID < c[j].ID })
|
||||||
sort.SliceStable(c, func(i, j int) bool { return siteOrder(c[i]) < siteOrder(c[j]) })
|
sort.SliceStable(c, func(i, j int) bool { return siteOrder(c[i]) < siteOrder(c[j]) })
|
||||||
children[pid] = c
|
children[pid] = c
|
||||||
}
|
}
|
||||||
|
sort.Slice(ungrouped, func(i, j int) bool { return ungrouped[i].ID < ungrouped[j].ID })
|
||||||
sort.SliceStable(ungrouped, func(i, j int) bool { return siteOrder(ungrouped[i]) < siteOrder(ungrouped[j]) })
|
sort.SliceStable(ungrouped, func(i, j int) bool { return siteOrder(ungrouped[i]) < siteOrder(ungrouped[j]) })
|
||||||
|
|
||||||
var ordered []models.Site
|
var ordered []models.Site
|
||||||
|
|||||||
Reference in New Issue
Block a user