mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 18:56:17 +01:00
Always display two decimals in container memory tooltip
- Also removes --china-mirrors when copying brew install script
This commit is contained in:
@@ -115,7 +115,7 @@ export default memo(function ContainerChart({
|
||||
} else if (chartType === ChartType.Memory) {
|
||||
obj.toolTipFormatter = (item: any) => {
|
||||
const { v, u } = getSizeAndUnit(item.value, false)
|
||||
return updateYAxisWidth(toFixedFloat(v, 2) + u)
|
||||
return decimalString(v, 2) + u
|
||||
}
|
||||
} else {
|
||||
obj.toolTipFormatter = (item: any) => decimalString(item.value) + unit
|
||||
|
||||
Reference in New Issue
Block a user