Replaced the service name with the port number in the live flows (#9709)

This commit is contained in:
Manuel Ceroni 2025-09-30 10:46:00 +02:00 committed by GitHub
parent c5c88577c7
commit 51fd8c07e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ const format_host = function (value) {
icons = `${icons} ${blackhole_icon}`
}
if (value.port !== 0) {
port_name = ` : <a href="#" class="tableFilter" tag-filter="port" data-bs-toggle='tooltip' data-bs-placement='bottom' title='${value.port}' tag-value="${value.port}">${value.service_port || value.port}</a>`
port_name = ` : <a href="#" class="tableFilter" tag-filter="port" data-bs-toggle='tooltip' data-bs-placement='bottom' title='${value.service_port}' tag-value="${value.port}">${value.port}</a>`
} else {
port_name = ''
}