mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes possible error when loading a chart
This commit is contained in:
parent
78459d4335
commit
6a4dc6c287
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ function getSerieName(name, id, tsGroup, useFullName) {
|
|||
|
||||
/* Given all the info about a timeserie, return the correct name to be displayed */
|
||||
function getName(ts_info, metadata) {
|
||||
let name = (metadata.use_serie_name == true) ? ts_info.name : metadata.label;
|
||||
let name = (metadata?.use_serie_name == true) ? ts_info.name : metadata.label;
|
||||
|
||||
if (ts_info.ext_label) {
|
||||
name = ts_info.ext_label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue