mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
parent
181ed62ec2
commit
1d4e7e2642
@ -1699,6 +1699,8 @@ define('pgadmin.browser', [
|
|||||||
// If the current node's inode is false
|
// If the current node's inode is false
|
||||||
if (__ctx.i && !__ctx.t.isInode(__ctx.i)) {
|
if (__ctx.i && !__ctx.t.isInode(__ctx.i)) {
|
||||||
__ctx.t.setInode(__ctx.i, {success: _appendNode});
|
__ctx.t.setInode(__ctx.i, {success: _appendNode});
|
||||||
|
// Open the collection node.
|
||||||
|
pgBrowser.tree.open(__ctx.i);
|
||||||
} else {
|
} else {
|
||||||
// Handle case for node without parent i.e. server-group
|
// Handle case for node without parent i.e. server-group
|
||||||
// or if parent node's inode is true.
|
// or if parent node's inode is true.
|
||||||
|
Loading…
Reference in New Issue
Block a user