mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 06:06:01 +00:00
fixes
This commit is contained in:
@@ -166,9 +166,11 @@ module.exports = {
|
||||
|
||||
list_meta: true,
|
||||
async list() {
|
||||
return portalConnections && !platformInfo.allowShellConnection
|
||||
? portalConnections.map(maskConnection)
|
||||
: this.datastore.find();
|
||||
if (portalConnections) {
|
||||
if (platformInfo.allowShellConnection) return portalConnections;
|
||||
return portalConnections.map(maskConnection);
|
||||
}
|
||||
return this.datastore.find();
|
||||
},
|
||||
|
||||
test_meta: true,
|
||||
|
||||
Reference in New Issue
Block a user