|
|
@ -27,7 +27,7 @@ export class Connection extends BI.Widget { |
|
|
|
if (name) { |
|
|
|
if (name) { |
|
|
|
const canEdit = connectionCanEdit(this.model.connectionSelectedOne); |
|
|
|
const canEdit = connectionCanEdit(this.model.connectionSelectedOne); |
|
|
|
this.connectionTitleWidget.setText(`${name}(${this.getSelectConnectionType()})`); |
|
|
|
this.connectionTitleWidget.setText(`${name}(${this.getSelectConnectionType()})`); |
|
|
|
this.connectionEditWidget.setVisible(!!name && canEdit); |
|
|
|
this.connectionEditWidget.setVisible(canEdit); |
|
|
|
const hasRegistered = this.hasRegistered(); |
|
|
|
const hasRegistered = this.hasRegistered(); |
|
|
|
this.title.setVisible(hasRegistered); |
|
|
|
this.title.setVisible(hasRegistered); |
|
|
|
if (!hasRegistered) { |
|
|
|
if (!hasRegistered) { |
|
|
|