fix network name label in config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
c254ba302b
commit
eb61b95c79
@ -450,12 +450,12 @@ function addNetworkLine(fieldset, prefix, netID, netDetails) {
|
|||||||
let icon = document.createElement("img");
|
let icon = document.createElement("img");
|
||||||
icon.src = "images/resources/network.svg";
|
icon.src = "images/resources/network.svg";
|
||||||
icon.alt = netID;
|
icon.alt = netID;
|
||||||
icon.dataset.network = `${prefix}${netID}`;
|
icon.dataset.network = netID;
|
||||||
icon.dataset.netvals = netDetails;
|
icon.dataset.netvals = netDetails;
|
||||||
field.appendChild(icon);
|
field.appendChild(icon);
|
||||||
|
|
||||||
let netLabel = document.createElement("label");
|
let netLabel = document.createElement("label");
|
||||||
netLabel.innerText = netID;
|
netLabel.innerText = `${prefix}${netID}`;
|
||||||
netLabel.dataset.network = netID;
|
netLabel.dataset.network = netID;
|
||||||
netLabel.dataset.netvals = netDetails;
|
netLabel.dataset.netvals = netDetails;
|
||||||
field.append(netLabel);
|
field.append(netLabel);
|
||||||
|
Loading…
Reference in New Issue
Block a user