mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Fix the icon of SNMP interface in the alerts table and add a warning message.
This commit is contained in:
parent
6abc64267e
commit
a62bc0db10
3 changed files with 17 additions and 2 deletions
|
|
@ -643,6 +643,10 @@ export class DataTableRenders {
|
|||
}
|
||||
} else {
|
||||
if (ip && value) {
|
||||
|
||||
if (value.includes(ip)) {
|
||||
value = value.split("_")[1];
|
||||
}
|
||||
let url = NtopUtils.buildURL(`${http_prefix}/lua/pro/enterprise/snmp_interface_details.lua?host=${ip}&snmp_port_idx=${value}`);
|
||||
content += ` <a href='${url}'data-bs-toggle='tooltip' title=''><i class='fas fa-laptop'></i></a>`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue