mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Redact client names, add elipses if it grows too long.
This commit is contained in:
parent
ac700677ee
commit
1f8379d0e1
@ -188,6 +188,8 @@ function renderAsn(asn, data) {
|
||||
let clientLink = document.createElement("a");
|
||||
clientLink.href = "/circuit/" + encodeURI(row.circuit_id);
|
||||
clientLink.innerText = row.circuit_name;
|
||||
clientLink.classList.add("redactable");
|
||||
clientLink.style.textOverflow = "ellipsis";
|
||||
clientCol.appendChild(clientLink);
|
||||
} else {
|
||||
clientCol.innerText = row.circuit_name;
|
||||
|
Loading…
Reference in New Issue
Block a user