mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 03:36:01 +00:00
more flexible connection dialog, improved UX when connecting to redshift
This commit is contained in:
@@ -21,5 +21,9 @@ export default function getConnectionLabel(connection, { allowExplicitDatabase =
|
||||
if (connection.server) {
|
||||
return connection.server;
|
||||
}
|
||||
if (connection.singleDatabase && connection.defaultDatabase) {
|
||||
return `${connection.defaultDatabase}`;
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user