mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-19 10:46:48 +02:00
fix 30-90 range
This commit is contained in:
parent
28eae65adb
commit
8b2bf8a8c8
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ async function getAggregatedHeartbeats(uptimeCalculator, days) {
|
|||
if (days <= 1) {
|
||||
const exactMinutes = Math.ceil(days * 24 * 60);
|
||||
rawDataPoints = uptimeCalculator.getDataArray(exactMinutes, "minute");
|
||||
} else if (days <= 30) {
|
||||
} else if (days <= 90) {
|
||||
const exactHours = Math.ceil(days * 24);
|
||||
rawDataPoints = uptimeCalculator.getDataArray(exactHours, "hour");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue