Browse Source

fix: update

qufenxi
alan 6 years ago
parent
commit
f788601519
  1. 2
      src/modules/pages/connection/list/list.service.ts

2
src/modules/pages/connection/list/list.service.ts

@ -16,7 +16,7 @@ export function getCreator(connection: Connection) {
export function getDatabaseType(connection: Connection) {
switch (connection.connectionType) {
case connectionType.JDBC:
return getJdbcDatabaseType((connection.connectionData as ConnectionJDBC).database, (connection.connectionData as ConnectionJDBC).driver);
return getJdbcDatabaseType((connection.connectionData as ConnectionJDBC).database, (connection.connectionData as ConnectionJDBC).driver).databaseType;
case connectionType.JNDI:
return connectionType.JNDI;
default:

Loading…
Cancel
Save