fix: additional bar at the end of histogram

This commit is contained in:
Sai Nikhil 2024-10-29 15:29:09 +05:30 committed by Bhargav
parent faa1d94dcd
commit 02f1bd457a
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}