mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
improved formatSecondsToHHMMSS
This commit is contained in:
parent
036b22229e
commit
17f9a50273
3 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
jQuery.fn.dataTableExt.sErrMode = 'console';
|
||||
jQuery.fn.dataTableExt.formatSecondsToHHMMSS = (data, type, row) => {
|
||||
if (isNaN(data)) return data;
|
||||
if (type == "display" && data == 0) return '-';
|
||||
if (type == "display") return secondsToTime(data);
|
||||
return data;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue