Commit 075a21ae authored by zhu-mingye's avatar zhu-mingye

ClusterINSTANCE page hotfix

parent c88341fe
...@@ -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`}
......
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