diff --git a/web/src/pages/System/Cluster/Index.js b/web/src/pages/System/Cluster/Index.js index cc5a1d70..729ba54e 100644 --- a/web/src/pages/System/Cluster/Index.js +++ b/web/src/pages/System/Cluster/Index.js @@ -18,7 +18,7 @@ import Link from "umi/link"; import { connect } from "dva"; import { HealthStatusCircle } from "@/components/infini/health_status_circle"; import PageHeaderWrapper from "@/components/PageHeaderWrapper"; -import indexStyles from "./index.less"; +import indexStyles from "./Index.less"; import styles from "./step.less"; import clusterBg from "@/assets/cluster_bg.png"; import { formatMessage } from "umi/locale"; @@ -217,25 +217,41 @@ class Index extends React.Component { formatExpandedRowRender = (item) => { return ( -
- + + - - {formatMessage({id: item.schema === 'https' + {formatMessage({ + id: + item.schema === "https" ? "cluster.regist.step.complete.tls.yes" - : "cluster.regist.step.complete.tls.no"})} - - - {(item.basic_auth && typeof item.basic_auth.username !=='undefined' && item.basic_auth.username !== '') - ? formatMessage({id: "cluster.regist.step.complete.tls.yes"}) - : formatMessage({id: "cluster.regist.step.complete.tls.no"})} - - - {item.description} - - -
+ : "cluster.regist.step.complete.tls.no", + })} + + + {item.basic_auth && + typeof item.basic_auth.username !== "undefined" && + item.basic_auth.username !== "" + ? formatMessage({ id: "cluster.regist.step.complete.tls.yes" }) + : formatMessage({ id: "cluster.regist.step.complete.tls.no" })} + + + {item.description} + + + ); };