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) => {
配置
</a>,
<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`}
href={`http://${record.jobManagerHost}/#/overview`}
......
......@@ -5,7 +5,7 @@ export type ClusterConfigurationTableListItem = {
type: string,
config: any,
configJson: string,
available: boolean,
isAvailable: boolean,
note: string,
enabled: boolean,
createTime: Date,
......
......@@ -116,7 +116,7 @@ const ClusterConfigurationTableList: React.FC<{}> = (props: any) => {
},
{
title: '是否可用',
dataIndex: 'available',
dataIndex: 'isAvailable',
hideInForm: true,
hideInSearch: true,
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