fix network name label in config

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-05-19 20:07:34 +00:00
parent 928d1d1516
commit ec96b9ec35

View File

@ -450,12 +450,12 @@ function addNetworkLine(fieldset, prefix, netID, netDetails) {
let icon = document.createElement("img");
icon.src = "images/resources/network.svg";
icon.alt = netID;
icon.dataset.network = `${prefix}${netID}`;
icon.dataset.network = netID;
icon.dataset.netvals = netDetails;
field.appendChild(icon);
let netLabel = document.createElement("label");
netLabel.innerText = netID;
netLabel.innerText = `${prefix}${netID}`;
netLabel.dataset.network = netID;
netLabel.dataset.netvals = netDetails;
field.append(netLabel);