console: fix top row selection when multiple sampling rates

This commit is contained in:
Vincent Bernat
2024-10-31 07:23:07 +01:00
parent a5e7ef244d
commit 41510619ff
5 changed files with 10 additions and 21 deletions

View File

@@ -32,12 +32,3 @@ func (c *Component) fixQueryColumnName(name string) string {
}
return ""
}
func metricForTopSort(inputUnit string) string {
switch inputUnit {
case "pps":
return "Packets"
default:
return "Bytes"
}
}