From 3a23f020547c8ec87aa95ccadd4412ec15661d53 Mon Sep 17 00:00:00 2001 From: Nuked Date: Sat, 23 Mar 2024 12:49:13 +0100 Subject: [PATCH] bug fix --- js/sidebar_node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/sidebar_node.js b/js/sidebar_node.js index a95be55..12ce777 100644 --- a/js/sidebar_node.js +++ b/js/sidebar_node.js @@ -793,7 +793,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();