more flexible connection dialog, improved UX when connecting to redshift

This commit is contained in:
Jan Prochazka
2021-05-16 11:22:48 +02:00
parent 6d7cc7d441
commit 8bffa4a7dd
10 changed files with 201 additions and 102 deletions

View File

@@ -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 '';
}