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

pull/5656/head
Nikhil Mohite 2022-12-19 10:50:12 +05:30 committed by GitHub
parent 181ed62ec2
commit 1d4e7e2642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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.