use default database

This commit is contained in:
Jan Prochazka
2024-12-18 08:18:09 +01:00
parent e63f1f8f09
commit c6e57b278e

View File

@@ -50,6 +50,10 @@
expandedConnections.update(x => _.uniq([...x, connection._id]));
}
if (connection.defaultDatabase) {
switchCurrentDatabase({ connection, name: connection.defaultDatabase });
}
// if (!config.runAsPortal && getCurrentSettings()['defaultAction.connectionClick'] != 'connect') {
// expandedConnections.update(x => _.uniq([...x, connection._id]));
// }