Add an object menu option to disconnect all server and database connections. #1984

This commit is contained in:
Pravesh Sharma
2024-11-06 15:52:31 +05:30
committed by GitHub
parent 6cb71c9ae4
commit b51eef12b7
4 changed files with 203 additions and 95 deletions

View File

@@ -24,5 +24,8 @@ export default function pgadminOverride(theme) {
'&.icon-terminal': {
fontSize: '1.3rem !important',
}
},
'.text-muted': {
color: theme.otherVars.textMuted
}
};}

View File

@@ -475,7 +475,7 @@ export class Tree {
let idx = 0;
let node_cnt = 0;
let result = {};
if (identifier === undefined) return;
if (!identifier) return;
let item = TreeNode.prototype.isPrototypeOf(identifier) ? identifier : this.findNode(identifier.path);
if (!item) return;
do {