Hide alerts count if allowed networks restrictions are set

This commit is contained in:
emanuele-f 2020-02-06 16:01:37 +01:00
parent 768e8ac207
commit ac553e9470
5 changed files with 27 additions and 4 deletions

View file

@ -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