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

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

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);
}