mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Hide alerts count if allowed networks restrictions are set
This commit is contained in:
parent
768e8ac207
commit
ac553e9470
5 changed files with 27 additions and 4 deletions
|
|
@ -86,7 +86,7 @@ end
|
|||
|
||||
-- Convert bytes to human readable format
|
||||
function format_utils.bytesToSize(bytes)
|
||||
if(bytes == nil) then
|
||||
if(tonumber(bytes) == nil) then
|
||||
return("0")
|
||||
else
|
||||
local precision = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue