Remove hyphen from On-line and Off-line

JS Fix for "Online" and "Offline" on the Device-List and the Device-Details-Page
This commit is contained in:
leiweibau
2022-05-23 17:13:47 +02:00
parent f28ca6726e
commit 4b391dd642
2 changed files with 3 additions and 3 deletions

View File

@@ -263,7 +263,7 @@ function initializeDatatable () {
default: color='aqua'; break;
};
$(td).html ('<a href="deviceDetails.php?mac='+ rowData[10] +'" class="badge bg-'+ color +'">'+ cellData +'</a>');
$(td).html ('<a href="deviceDetails.php?mac='+ rowData[10] +'" class="badge bg-'+ color +'">'+ cellData.replace('-', '') +'</a>');
} },
],