mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Fixes invalid result reported when no L7 contacts can be found
Fixes #5715
This commit is contained in:
parent
18cfb589aa
commit
7c418a3c1e
3 changed files with 3 additions and 3 deletions
|
|
@ -1493,7 +1493,7 @@ function updateGraphsTableView(view, graph_params, has_nindex, nindex_query, per
|
|||
if(!has_drilldown)
|
||||
$("table td:last-child, th:last-child", graph_table).remove();
|
||||
|
||||
if(data && data.stats && data.stats.query_duration_msec) {
|
||||
if(data && data.totalRows > 0 && data.stats && data.stats.query_duration_msec) {
|
||||
let time_elapsed = data.stats.query_duration_msec/1000.0;
|
||||
if(time_elapsed < 0.1)
|
||||
time_elapsed = "< 0.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue