public inbox for [email protected]
help / color / mirror / Atom feedFrom: Pradip Parkale <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM7176]: pgAdmin 4 v6.5 / Windows 10 - state is not recalled on startup
Date: Wed, 30 Mar 2022 14:56:40 +0530
Message-ID: <CAJ9T6SuBRm0Hg7HCddZEZxE-V9cS115xMTXDDtO6BfFZcWSUOA@mail.gmail.com> (raw)
Hi Hackers,
Please find the attached patch for #7176
<https://redmine.postgresql.org/issues/7176;.
--
Thanks & Regards,
Pradip Parkale
Software Engineer | EnterpriseDB Corporation
Attachments:
[application/octet-stream] RM7176.patch (620B, 3-RM7176.patch)
download | inline diff:
diff --git a/web/pgadmin/static/js/tree/pgadmin_tree_save_state.js b/web/pgadmin/static/js/tree/pgadmin_tree_save_state.js
index f9c59223d..ab233e26f 100644
--- a/web/pgadmin/static/js/tree/pgadmin_tree_save_state.js
+++ b/web/pgadmin/static/js/tree/pgadmin_tree_save_state.js
@@ -260,7 +260,7 @@ _.extend(pgBrowser.browserTreeState, {
},
expand_from_previous_state: function(item) {
let self = this,
- treeData = this.current_state || {},
+ treeData = this.stored_state || {},
data = item && pgBrowser.tree.itemData(item),
treeHierarchy = pgBrowser.tree.getTreeNodeHierarchy(item);
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [pgAdmin][RM7176]: pgAdmin 4 v6.5 / Windows 10 - state is not recalled on startup
In-Reply-To: <CAJ9T6SuBRm0Hg7HCddZEZxE-V9cS115xMTXDDtO6BfFZcWSUOA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox