From 1b7294f7142c434e596d3b1b5e2fd522dc1c96ee Mon Sep 17 00:00:00 2001 From: BaiJiangJie Date: Wed, 11 Sep 2019 10:50:34 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E5=9C=A8=E7=BA=BF=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=85=81=E8=AE=B8=E7=BB=88=E7=AB=AF=20RDP=20?= =?UTF-8?q?session?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/templates/terminal/session_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/terminal/templates/terminal/session_list.html b/apps/terminal/templates/terminal/session_list.html index dbccd861a..6ac9b7bd8 100644 --- a/apps/terminal/templates/terminal/session_list.html +++ b/apps/terminal/templates/terminal/session_list.html @@ -140,7 +140,7 @@ function initTable() { replayBtn = replayBtn.replace("disabled", "") } var termBtn = '{% trans "Terminate" %}'; - if (rowData.protocol === "ssh" && "{{ request.user.is_org_admin }}" === "True") { + if ("{{ request.user.is_org_admin }}" === "True") { termBtn = termBtn.replace("disabled", "") .replace("sessionID", cellData) .replace("terminalID", rowData.terminal)