Fixed an issue updating the schema node de-select the node in the tree if only one schema is present in the collection node. #5542

This commit is contained in:
Nikhil Mohite
2022-12-19 10:50:12 +05:30
committed by GitHub
parent 181ed62ec2
commit 1d4e7e2642

View File

@@ -1699,6 +1699,8 @@ define('pgadmin.browser', [
// If the current node's inode is false
if (__ctx.i && !__ctx.t.isInode(__ctx.i)) {
__ctx.t.setInode(__ctx.i, {success: _appendNode});
// Open the collection node.
pgBrowser.tree.open(__ctx.i);
} else {
// Handle case for node without parent i.e. server-group
// or if parent node's inode is true.