diff publishable/resources/js/ServerTable.js @ 6:6ded573b0a61

updating the server tables to show blank on null by default
author luka
date Tue, 09 Sep 2025 15:49:54 -0400
parents f282c6ef1671
children e6132a1e8e24
line wrap: on
line diff
--- a/publishable/resources/js/ServerTable.js	Tue Aug 19 22:15:16 2025 -0400
+++ b/publishable/resources/js/ServerTable.js	Tue Sep 09 15:49:54 2025 -0400
@@ -194,7 +194,7 @@
                                     `<td class='${ typeof col.class === "string" ? col.class : '' }' >${
                                         typeof col.render === "function"
                                             ? col.render(row, col, i)
-                                            : row[col.name]
+                                            : row[col.name] === null ? '' : row[col.name]
                                     }</td>`,
                             )
                             .join("")}</tr>`,