From 7345021800382c6dd9cfea91bd303ceacf2ba14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E4=B8=96=E5=86=9B?= <30999793+AllForNothing@users.noreply.github.com> Date: Thu, 30 Sep 2021 15:01:19 +0800 Subject: [PATCH] Fix lagecy robot edit issue (#15716) Signed-off-by: AllForNothing --- .../base/project/robot-account/robot-account.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/portal/src/app/base/project/robot-account/robot-account.component.html b/src/portal/src/app/base/project/robot-account/robot-account.component.html index 8e9321294..a2aef2618 100644 --- a/src/portal/src/app/base/project/robot-account/robot-account.component.html +++ b/src/portal/src/app/base/project/robot-account/robot-account.component.html @@ -34,7 +34,7 @@ @@ -42,7 +42,7 @@ type="button" class="btn btn-secondary" (click)="disableOrEnable()" - [disabled]="!hasRobotUpdatePermission ||!(selectedRows && selectedRows.length === 1 && !selectedRows[0].disable)"> + [disabled]="!hasRobotUpdatePermission ||!(selectedRows && selectedRows.length === 1 && !selectedRows[0].disable) || !selectedRows[0].editable">   {{'WEBHOOK.DISABLED_BUTTON' | translate}}