mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-04-26 10:58:20 -05:00
Multiply by 100 to get accurate percentage.
This commit is contained in:
@@ -36,7 +36,7 @@ export const buildData = (monitors, isAdmin, navigate) => {
|
||||
uptimePercentage =
|
||||
monitor.uptimePercentage === 0
|
||||
? "0"
|
||||
: monitor.uptimePercentage.toFixed(2);
|
||||
: (monitor.uptimePercentage * 100).toFixed(2);
|
||||
}
|
||||
|
||||
const params = {
|
||||
|
||||
Reference in New Issue
Block a user