|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
import { shortcut, store } from '@core/core'; |
|
|
|
|
import { ButtonGroup, Htape, Vtape, Label, Vertical } from 'ui'; |
|
|
|
|
import { ButtonGroup, Htape, Vtape, Label, Vertical, Layout } from 'ui'; |
|
|
|
|
import { ConnectionPoolModel, ConnectionPoolModelXtype } from './connection_pool.model'; |
|
|
|
|
import { ListItemXtype } from './list_item/list_item'; |
|
|
|
|
import { PoolXtype } from './pool/pool'; |
|
|
|
@ -72,9 +72,13 @@ export class ConnectionPool extends BI.Widget {
|
|
|
|
|
}, |
|
|
|
|
height: 40, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: PoolXtype, |
|
|
|
|
}, |
|
|
|
|
this.model.connectionJDBC.length > 0 ? |
|
|
|
|
{ |
|
|
|
|
type: PoolXtype, |
|
|
|
|
} : |
|
|
|
|
{ |
|
|
|
|
type: Layout, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|