fix: additional bar at the end of histogram
This commit is contained in:
parent
faa1d94dcd
commit
02f1bd457a
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue