mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
GraphQL 0.11 - Load devices json on Query, _KEEP_ bugfix for old settings
This commit is contained in:
@@ -378,6 +378,9 @@ function getDeviceStatus(item)
|
||||
// -----------------------------------------------------------------------------
|
||||
function initializeDatatable_new (status) {
|
||||
|
||||
console.log(tableColumnVisible);
|
||||
|
||||
|
||||
// Build GraphQL query dynamically based on tableColumnVisible
|
||||
let columnsToFetch = [
|
||||
'devMac', 'devName', 'devLastConnection', 'devIsArchived', 'devOwner', 'devType',
|
||||
@@ -481,7 +484,7 @@ $.ajax({
|
||||
} else {
|
||||
$(td).html('');
|
||||
}
|
||||
}},
|
||||
}}
|
||||
|
||||
// Other columns (Status, MAC, Date, etc.) can be similarly customized.
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user