diff --git a/web/package.json b/web/package.json index ff59c9251..3237935e5 100644 --- a/web/package.json +++ b/web/package.json @@ -144,7 +144,7 @@ "path-fx": "^2.0.0", "pathfinding": "^0.4.18", "paths-js": "^0.4.9", - "pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613", + "pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#2c288ccc0ae0c98b41e56e79abf1204be3861702", "postcss": "^8.2.15", "raf": "^3.4.1", "rc-dock": "^3.2.9", diff --git a/web/pgadmin/browser/server_groups/servers/static/js/server.js b/web/pgadmin/browser/server_groups/servers/static/js/server.js index 3e3e4346a..aa85fe919 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/server.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/server.js @@ -267,7 +267,7 @@ define('pgadmin.node.server', [ t.addIcon(i, {icon: d.icon}); obj.callbacks.refresh.apply(obj, [null, i]); setTimeout(() => { - t.toggle(i); + t.close(i); }, 10); if (pgBrowser.serverInfo && d._id in pgBrowser.serverInfo) { delete pgBrowser.serverInfo[d._id]; diff --git a/web/pgadmin/misc/cloud/static/js/cloud_components.jsx b/web/pgadmin/misc/cloud/static/js/cloud_components.jsx index 70fccdb0d..8b80ee2b8 100644 --- a/web/pgadmin/misc/cloud/static/js/cloud_components.jsx +++ b/web/pgadmin/misc/cloud/static/js/cloud_components.jsx @@ -70,7 +70,7 @@ export function FinalSummary(props) { if (props.cloudProvider == 'biganimal') { summary = getBigAnimalSummary(props.cloudProvider, props.instanceData, props.databaseData); - summaryHeader[1] = 'Version Details' + summaryHeader[1] = 'Version Details'; } else { summary = getAWSSummary(props.cloudProvider, props.instanceData, props.databaseData); } diff --git a/web/pgadmin/misc/cloud/static/js/cloud_db_details_schema.ui.js b/web/pgadmin/misc/cloud/static/js/cloud_db_details_schema.ui.js index 9c4e903d3..ef906b5f5 100644 --- a/web/pgadmin/misc/cloud/static/js/cloud_db_details_schema.ui.js +++ b/web/pgadmin/misc/cloud/static/js/cloud_db_details_schema.ui.js @@ -496,13 +496,13 @@ class BigAnimalNetworkSchema extends BaseUISchema { return true; }, depChange: (state, source)=> { - if(source[0] == 'cloud_type') { - if (state.cloud_type == 'public') { - return {public_ip: obj.initValues.hostIP}; - } else { - return {public_ip: ''}; - } - } + if(source[0] == 'cloud_type') { + if (state.cloud_type == 'public') { + return {public_ip: obj.initValues.hostIP}; + } else { + return {public_ip: ''}; + } + } }, helpMessage: gettext('IP Address range for permitting the inbound traffic. Ex: 127.0.0.1/32, add multiple ip addresses/ranges by comma separated. Leave it blank for 0.0.0.0/0'), }, diff --git a/web/pgadmin/static/js/tree/tree.js b/web/pgadmin/static/js/tree/tree.js index 804eaad60..839016adf 100644 --- a/web/pgadmin/static/js/tree/tree.js +++ b/web/pgadmin/static/js/tree/tree.js @@ -166,7 +166,7 @@ export class Tree { } async close(item) { - await this.tree.closeDirectory(item); + await this.tree.closeDir(item); } async toggle(item) { diff --git a/web/yarn.lock b/web/yarn.lock index 2224418bb..f02a8d3c5 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -8179,9 +8179,9 @@ performance-now@^2.1.0: resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= -"pgadmin4-tree@git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613": +"pgadmin4-tree@git+https://github.com/EnterpriseDB/pgadmin4-treeview/#2c288ccc0ae0c98b41e56e79abf1204be3861702": version "1.0.0" - resolved "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#c966febebcdffaa46f1ccf0769fe5308f179d613" + resolved "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#2c288ccc0ae0c98b41e56e79abf1204be3861702" dependencies: "@types/classnames" "^2.2.6" "@types/react" "^16.7.18"