diff --git a/web/src/composables/useLogs.ts b/web/src/composables/useLogs.ts index 9a2fa9865..d01caef8d 100644 --- a/web/src/composables/useLogs.ts +++ b/web/src/composables/useLogs.ts @@ -2368,7 +2368,7 @@ const useLogs = () => { const dateToBePassed = `${day}-${month}-${year}`; const hours = String(now.getHours()).padStart(2, "0"); let minutes = String(now.getMinutes()).padStart(2, "0"); - if (searchObj.data.histogramInterval / 1000 <= 60000) { + if (searchObj.data.histogramInterval / 1000 <= 9999) { minutes = String(now.getMinutes() + 1).padStart(2, "0"); }