Added epoch range in inactive hosts page

This commit is contained in:
Matteo Biscosi 2023-06-07 10:51:27 +00:00
parent 000579677a
commit ce3851cab7
2 changed files with 7 additions and 2 deletions

View file

@ -96,10 +96,15 @@ if table.len(host_details) > 0 then
}}
}
local name = host_details["name"]
if isEmptyString(name) then
name = host_details["ip"]
end
rsp["host_info"][#rsp["host_info"] + 1] = {
name = i18n("name"),
values = {{
name = host_details["name"]
name = name
}}
}
end