1) Fixed linter error.

2) Fixed an issue where a password popup will appear on disconnecting from the server.
This commit is contained in:
Khushboo Vashi
2022-04-26 18:16:33 +05:30
committed by Akshay Joshi
parent 5677b1e5f8
commit 7d91cca14d
6 changed files with 13 additions and 13 deletions

View File

@@ -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",

View File

@@ -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];

View File

@@ -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);
}

View File

@@ -166,7 +166,7 @@ export class Tree {
}
async close(item) {
await this.tree.closeDirectory(item);
await this.tree.closeDir(item);
}
async toggle(item) {

View File

@@ -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"