From ed176fe13586d883998a136d70610c210db66f4d Mon Sep 17 00:00:00 2001 From: alan Date: Wed, 25 Sep 2019 15:37:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/pages/connection/connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {