Merge pull request #5540 from jow-/wireguard-peer-gridsection
[project/luci.git] / modules / luci-base / htdocs / luci-static / resources / cbi.js
index aef64d577eb49b2749549f0075a39f2b04c755db..9200954d1e791f088f9bf66bab9a10637e1435f1 100644 (file)
@@ -777,7 +777,7 @@ function cbi_update_table(table, data, placeholder) {
                                        var td = trow.appendChild(E('td', {
                                                'class': titles[i].className,
                                                'data-title': (text !== '') ? text : null
-                                       }, row[i] || ''));
+                                       }, (row[i] != null) ? row[i] : ''));
 
                                        td.classList.remove('th');
                                        td.classList.add('td');