From b927f6c5f5e602c61d879490bac2ef27af7b8f5c Mon Sep 17 00:00:00 2001 From: xusongfu Date: Sun, 9 Oct 2022 16:59:16 +0800 Subject: [PATCH] Hide the certificate info in administrator platform Certificate information should only be displayed on the console platform Closes-Bug: #1992274 Change-Id: Iebd5d16fb78ba1704492ae52cab025b3cfb04b24 --- .../containers/LoadBalancers/Listener/Detail/BaseDetail.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/network/containers/LoadBalancers/Listener/Detail/BaseDetail.jsx b/src/pages/network/containers/LoadBalancers/Listener/Detail/BaseDetail.jsx index 8558402f..6819a53c 100644 --- a/src/pages/network/containers/LoadBalancers/Listener/Detail/BaseDetail.jsx +++ b/src/pages/network/containers/LoadBalancers/Listener/Detail/BaseDetail.jsx @@ -48,7 +48,7 @@ export class BaseDetail extends Base { get rightCards() { const { protocol } = this.detailData || {}; - if (protocol === 'TERMINATED_HTTPS') { + if (protocol === 'TERMINATED_HTTPS' && !this.isAdminPage) { return [this.certificateInfo]; } return [];