diff --git a/src/modules/pages/connection/connection.ts b/src/modules/pages/connection/connection.ts index aab90d6..c581bb7 100644 --- a/src/modules/pages/connection/connection.ts +++ b/src/modules/pages/connection/connection.ts @@ -27,7 +27,7 @@ export class Connection extends BI.Widget { if (name) { const canEdit = connectionCanEdit(this.model.connectionSelectedOne); this.connectionTitleWidget.setText(`${name}(${this.getSelectConnectionType()})`); - this.connectionEditWidget.setVisible(!!name && canEdit); + this.connectionEditWidget.setVisible(canEdit); const hasRegistered = this.hasRegistered(); this.title.setVisible(hasRegistered); if (!hasRegistered) {