diff --git a/src/modules/pages/connection/list/list.service.ts b/src/modules/pages/connection/list/list.service.ts index 2bd1652..de29806 100644 --- a/src/modules/pages/connection/list/list.service.ts +++ b/src/modules/pages/connection/list/list.service.ts @@ -1,6 +1,7 @@ import { Connection, ConnectionJDBC, ConnectionJNDI, ConnectionPlugin } from '../../../crud/crud.typings'; import { connectionType } from '@constants/env'; import { getAllDatabaseTypes, getJdbcDatabaseType } from 'src/modules/app.service'; +import { DATA_BASE_TYPES_OTHER } from '@constants/constant'; export function getCreator(connection: Connection) { switch (connection.connectionType) { @@ -31,6 +32,8 @@ export function hasRegistered(databaseType: string) { return true; case connectionType.JNDI: return true; + case DATA_BASE_TYPES_OTHER.text: + return true; default: return allDatabaseTypes.some(item => item.databaseType === databaseType); }