diff --git a/nodes/config/ui_base.html b/nodes/config/ui_base.html index fbb039a0..c067ddee 100644 --- a/nodes/config/ui_base.html +++ b/nodes/config/ui_base.html @@ -1211,6 +1211,7 @@ const titleRow = parent.closest('.nrdb2-sb-list-header') const btnGroup = $('
', { class: 'nrdb2-sb-list-header-state-options', id: item.id }).appendTo(parent) if (nodes.includes(item.type)) { + debugger const visibleIcon = (item.visible === 'false' || item.visible === false) ? 'fa-eye-slash' : 'fa-eye' const visibleBtn = $('').appendTo(btnGroup) visibleBtn.on('click', function (evt) { @@ -1297,7 +1298,7 @@ } function setStateClasses (item, row) { - if (!item.node.visible === 'true' || item.node.visible === false) { + if (item.node.visible === 'false' || item.node.visible === false) { row.addClass('nrdb2-sb-item-hidden') } if (item.node.disabled === 'true' || item.node.disabled === true) {