Unverified Commit 6bfada00 authored by aiwenmo's avatar aiwenmo Committed by GitHub

[hotfix][web] ClusterConfiguration page hotfix

[hotfix][web] ClusterConfiguration page hotfix
parents b0955c6c 075a21ae
...@@ -314,7 +314,11 @@ const ClusterTableList: React.FC<{}> = (props: any) => { ...@@ -314,7 +314,11 @@ const ClusterTableList: React.FC<{}> = (props: any) => {
配置 配置
</a>, </a>,
<MoreBtn key="more" item={record}/>, <MoreBtn key="more" item={record}/>,
((record.status && (record.type === RUN_MODE.YARN_SESSION || record.type === RUN_MODE.STANDALONE )) ? ((record.status && (record.type === RUN_MODE.YARN_SESSION
|| record.type === RUN_MODE.STANDALONE
|| record.type === RUN_MODE.YARN_APPLICATION
|| record.type === RUN_MODE.YARN_PER_JOB
)) ?
<> <>
<Button type="link" title={`http://${record.jobManagerHost}/#/overview`} <Button type="link" title={`http://${record.jobManagerHost}/#/overview`}
href={`http://${record.jobManagerHost}/#/overview`} href={`http://${record.jobManagerHost}/#/overview`}
......
...@@ -5,7 +5,7 @@ export type ClusterConfigurationTableListItem = { ...@@ -5,7 +5,7 @@ export type ClusterConfigurationTableListItem = {
type: string, type: string,
config: any, config: any,
configJson: string, configJson: string,
available: boolean, isAvailable: boolean,
note: string, note: string,
enabled: boolean, enabled: boolean,
createTime: Date, createTime: Date,
......
...@@ -116,7 +116,7 @@ const ClusterConfigurationTableList: React.FC<{}> = (props: any) => { ...@@ -116,7 +116,7 @@ const ClusterConfigurationTableList: React.FC<{}> = (props: any) => {
}, },
{ {
title: '是否可用', title: '是否可用',
dataIndex: 'available', dataIndex: 'isAvailable',
hideInForm: true, hideInForm: true,
hideInSearch: true, hideInSearch: true,
hideInTable: false, hideInTable: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment