mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Improve getPoolName
This commit is contained in:
parent
bb393c54d9
commit
cee3282206
1 changed files with 1 additions and 1 deletions
|
|
@ -4326,7 +4326,7 @@ function areHostPoolsTimeseriesEnabled(ifid)
|
|||
end
|
||||
|
||||
function getPoolName(pool_id)
|
||||
if(pool_id == "0") then
|
||||
if isEmptyString(pool_id) or pool_id == "0" then
|
||||
return "Default"
|
||||
else
|
||||
local key = "ntopng.prefs.host_pools.details."..pool_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue