Merge #20217 - Fix #19330 - Show original value instead of negative value

Pull-request: #20217
Fixes: #19330
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2026-03-07 16:13:52 +01:00
commit 0055ec0054
No known key found for this signature in database
GPG Key ID: 70684F4717D49A31

View File

@ -1491,6 +1491,11 @@ AJAX.registerOnload('server/status/monitor.js', function () {
}
value -= oldChartData[key][j][0].value;
// Show original value instead of negative value when database server is restarted
if (value < 0) {
value = parseFloat(chartData[key][j][0].value);
}
}
if (elem.nodes[j].valueDivisor) {