add indeterminate state back to monitorData after bad conflict resolution (#785)
This commit is contained in:
1 parent
cfc2700d19
commit
88316de306
1 file changed
+6
-1
@@ -64,7 +64,12 @@ export const buildData = (monitors, isAdmin, navigate) => {
|
||||
title: monitor.name,
|
||||
percentage: uptimePercentage,
|
||||
percentageColor,
|
||||
status: monitor.status === true ? "up" : "down",
|
||||
status:
|
||||
monitor.status === undefined
|
||||
? "unknown"
|
||||
: monitor.status === true
|
||||
? "up"
|
||||
: "down",
|
||||
};
|
||||
|
||||
// Reverse checks so the latest check is on the right
|
||||
|
||||
Reference in new issue
Block a user