|
|
|
@ -24,11 +24,15 @@ export class Connection extends BI.Widget {
|
|
|
|
|
title: HTapeLayout; |
|
|
|
|
|
|
|
|
|
watch = { |
|
|
|
|
connectionSelected: { |
|
|
|
|
connectionSelectedOne: { |
|
|
|
|
immediate: true, |
|
|
|
|
handler: (name: string) => { |
|
|
|
|
handler: (v: Connection) => { |
|
|
|
|
BI.nextTick(() => { |
|
|
|
|
name ? this.renderConnectionListView(name) : this.renderEmptyListView(); |
|
|
|
|
const connectionName = v.connectionName; |
|
|
|
|
|
|
|
|
|
connectionName |
|
|
|
|
? this.renderConnectionListView(connectionName) |
|
|
|
|
: this.renderEmptyListView(); |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|