mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
new device button #1126
This commit is contained in:
@@ -497,7 +497,7 @@ function updateDevicePageName(mac) {
|
|||||||
let owner = getDevDataByMac(mac, "devOwner");
|
let owner = getDevDataByMac(mac, "devOwner");
|
||||||
|
|
||||||
// If data is missing, re-cache and retry once
|
// If data is missing, re-cache and retry once
|
||||||
if (name === "Unknown" || owner === "Unknown") {
|
if (mac != 'new' && (name === "Unknown" || owner === "Unknown")) {
|
||||||
console.warn("Device not found in cache, retrying after re-cache:", mac);
|
console.warn("Device not found in cache, retrying after re-cache:", mac);
|
||||||
showSpinner();
|
showSpinner();
|
||||||
cacheDevices().then(() => {
|
cacheDevices().then(() => {
|
||||||
|
|||||||
0
front/php/templates/language/uk_ua.json
Normal file → Executable file
0
front/php/templates/language/uk_ua.json
Normal file → Executable file
@@ -209,7 +209,7 @@ echo '<div class="box box-solid">
|
|||||||
<h3 class="box-title availableips_headline"><i class="fa fa-list"></i> ' . lang('Systeminfo_AvailableIps') . '</h3>
|
<h3 class="box-title availableips_headline"><i class="fa fa-list"></i> ' . lang('Systeminfo_AvailableIps') . '</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<table id="availableIpsTable" class="display" style="width:100%"></table>
|
<table id="availableIpsTable" class="display table table-bordered table-hover dataTable no-footer" style="width:100%"></table>
|
||||||
</div>
|
</div>
|
||||||
</div>';
|
</div>';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user