diff --git a/web/assets/js/util/common.js b/web/assets/js/util/common.js index d35c5208a..563bfd45d 100644 --- a/web/assets/js/util/common.js +++ b/web/assets/js/util/common.js @@ -23,8 +23,12 @@ function sizeFormat(size) { } function cpuSpeedFormat(speed) { - const GHz = speed / 1000; - return GHz.toFixed(2) + " GHz"; + if (speed > 1000) { + const GHz = speed / 1000; + return GHz.toFixed(2) + " GHz"; + } else { + return speed.toFixed(2) + " MHz"; + } } function cpuCoreFormat(cores) {