new device button #1126

This commit is contained in:
jokob-sk
2025-08-01 08:15:32 +10:00
parent 4ee652cfda
commit 3f5ae334a2
3 changed files with 2 additions and 2 deletions

View File

@@ -497,7 +497,7 @@ function updateDevicePageName(mac) {
let owner = getDevDataByMac(mac, "devOwner");
// 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);
showSpinner();
cacheDevices().then(() => {

0
front/php/templates/language/uk_ua.json Normal file → Executable file
View File

View 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>
</div>
<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>';