This commit is contained in:
Nuked
2024-03-23 12:49:13 +01:00
parent ce90633d30
commit 3a23f02054
+1 -1
View File
@@ -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();