mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 09:28:12 +08:00
minor fixes
This commit is contained in:
@@ -387,6 +387,6 @@ exports.percentageToColor = (percentage, maxHue = 90, minHue = 10) => {
|
||||
try {
|
||||
return chroma(`hsl(${hue}, 90%, 40%)`).hex();
|
||||
} catch (err) {
|
||||
return "grey";
|
||||
return "#999";
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user