mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-31 07:12:23 -07:00
FE+BE: fake MAC standardization (FA:CE) #1344
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -231,6 +231,13 @@ function getDeviceData() {
|
||||
</a>
|
||||
</span>`;
|
||||
}
|
||||
// handle FAKE mac
|
||||
if (setting.setKey == "NEWDEV_devMac" && isFakeMac(deviceData["devMac"])) {
|
||||
inlineControl += `<span class="input-group-addon"
|
||||
title="${getString("FakeMAC_hover")}">
|
||||
<i class="fa-solid fa-dice"></i>
|
||||
</span>`;
|
||||
}
|
||||
// handle generate MAC for new device
|
||||
if (setting.setKey == "NEWDEV_devMac" && deviceData["devMac"] == "") {
|
||||
inlineControl += `<span class="input-group-addon pointer"
|
||||
|
||||
Reference in New Issue
Block a user