mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Reduced shorten string
This commit is contained in:
parent
09729b43da
commit
b45df18ece
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ if table.len(manufacturers) > 0 then
|
|||
if max_manufacturers >= 0 then
|
||||
max_manufacturers = max_manufacturers - 1
|
||||
rsp[#rsp + 1] = {
|
||||
label = shortenString(value.manufacturer, 25) .. " (" .. tostring(value.count) .. ")",
|
||||
label = shortenString(value.manufacturer, 22) .. " (" .. tostring(value.count) .. ")",
|
||||
value = tonumber(value.count),
|
||||
url = ntop.getHttpPrefix() .. '/lua/assets.lua?page=details&manufacturer=' .. value.manufacturer
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue