diff --git a/front/devices.php b/front/devices.php index d45a0f49..a2cb9aa8 100755 --- a/front/devices.php +++ b/front/devices.php @@ -545,15 +545,33 @@ function initializeDatatable (status) { } } }, - // IP address + // IP address + {targets: [mapIndx(8)], + 'createdCell': function (td, cellData, rowData, row, col) { + if (!emptyArr.includes(cellData)){ + $(td).html (` + + ${cellData} + + + + + `); + } else { + $(td).html (''); + } + } + }, + // IP address (ordeable) {targets: [mapIndx(12)], 'createdCell': function (td, cellData, rowData, row, col) { - if (!emptyArr.includes(cellData)){ - $(td).html (''+cellData+''); - } else { - $(td).html (''); - } - } }, + if (!emptyArr.includes(cellData)){ + $(td).html (`${cellData}`); + } else { + $(td).html (''); + } + } + }, // Favorite {targets: [mapIndx(4)], diff --git a/front/php/templates/language/es_es.json b/front/php/templates/language/es_es.json old mode 100644 new mode 100755