mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure the correct child node is selected on the expansion of the collection node.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user