|
|
@ -7,7 +7,7 @@ import { TestStatusXtype, TestStatus, EVENT_CLOSE, EVENT_RELOAD } from 'src/modu |
|
|
|
import { hasRegistered } from '../list.service'; |
|
|
|
import { hasRegistered } from '../list.service'; |
|
|
|
import { connectionType } from '@constants/env'; |
|
|
|
import { connectionType } from '@constants/env'; |
|
|
|
import { ConnectionJDBC } from 'src/modules/crud/crud.typings'; |
|
|
|
import { ConnectionJDBC } from 'src/modules/crud/crud.typings'; |
|
|
|
import { connectionCanEdit } from '../../../../app.service'; |
|
|
|
import { connectionCanEdit, getTextByDatabaseType } from '../../../../app.service'; |
|
|
|
|
|
|
|
|
|
|
|
export const ListItemXtype = 'dec.dcm.connection.list_item'; |
|
|
|
export const ListItemXtype = 'dec.dcm.connection.list_item'; |
|
|
|
@shortcut(ListItemXtype) |
|
|
|
@shortcut(ListItemXtype) |
|
|
@ -126,7 +126,7 @@ export class ListItem extends BI.BasicButton { |
|
|
|
const isRegistered = hasRegistered(databaseType); |
|
|
|
const isRegistered = hasRegistered(databaseType); |
|
|
|
const otherIcons = [ |
|
|
|
const otherIcons = [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
text: BI.i18nText('Dec-Dcm_Type', databaseType), |
|
|
|
text: BI.i18nText('Dec-Dcm_Type', getTextByDatabaseType(databaseType)), |
|
|
|
disabled: true, |
|
|
|
disabled: true, |
|
|
|
cls: 'dcm-info-font', |
|
|
|
cls: 'dcm-info-font', |
|
|
|
value: 12, |
|
|
|
value: 12, |
|
|
|