mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-25 02:56:00 +00:00
use default database
This commit is contained in:
@@ -50,6 +50,10 @@
|
|||||||
expandedConnections.update(x => _.uniq([...x, connection._id]));
|
expandedConnections.update(x => _.uniq([...x, connection._id]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (connection.defaultDatabase) {
|
||||||
|
switchCurrentDatabase({ connection, name: connection.defaultDatabase });
|
||||||
|
}
|
||||||
|
|
||||||
// if (!config.runAsPortal && getCurrentSettings()['defaultAction.connectionClick'] != 'connect') {
|
// if (!config.runAsPortal && getCurrentSettings()['defaultAction.connectionClick'] != 'connect') {
|
||||||
// expandedConnections.update(x => _.uniq([...x, connection._id]));
|
// expandedConnections.update(x => _.uniq([...x, connection._id]));
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user