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 authored and Akshay Joshi committed 2022-04-26 18:16:33 +05:30
1 parent 5677b1e5f8
commit 7d91cca14d
6 files changed
+13 -13

No files matched your search

+1 -1
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",
@@ -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];
@@ -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);
}
@@ -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'),
},
+1 -1
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) {
+2 -2
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"