From bc46cba528281a5f9ff7fb7de758db9509f961db Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Tue, 3 Feb 2026 08:19:21 +1100 Subject: [PATCH] FE: N/A placeholder for empty names Signed-off-by: jokob-sk --- front/devices.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/front/devices.php b/front/devices.php index 61d91020..52c1619c 100755 --- a/front/devices.php +++ b/front/devices.php @@ -799,11 +799,18 @@ function initializeDatatable (status) { 'createdCell': function (td, cellData, rowData, row, col) { // console.log(cellData) + + var displayedValue = cellData; + + if(isEmpty(displayedValue)) + { + displayedValue = "N/A" + } $(td).html ( ` - ${cellData} + ${displayedValue} ` );