Ensure the correct child node is selected on the expansion of the collection node.

This commit is contained in:
Nikhil Mohite authored and GitHub committed 2023-01-05 17:30:30 +05:30
1 parent 25b6a0a1cf
commit 0a7d9a69f7
2 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -927,7 +927,7 @@ define('pgadmin.browser.node', [
};
}
} else {
} else if(tree.children(item).length == 1) {
const first_child = tree.first(item);
tree.select(first_child);
}