diff --git a/js/sidebar_node.js b/js/sidebar_node.js index 8ff9ede..61730a7 100644 --- a/js/sidebar_node.js +++ b/js/sidebar_node.js @@ -827,7 +827,7 @@ function addSidebar() { // Function to check if the element is not an empty object function SidebarBoot() { - if (Object.keys(LiteGraph.registered_node_types).length !== 0) { + if (Object.keys(LiteGraph.registered_node_types).length > 10) { // Execute the function when the element is not an empty object createCategoryList();