import * as React from 'react'; import { DOWNLOAD_IP } from '@static/const'; import PaiTrialChild from './PaiTrialChild'; import LogPathChild from './LogPathChild'; interface PaitrialLogProps { logStr: string; id: string; logCollection: boolean; } class PaitrialLog extends React.Component { constructor(props: PaitrialLogProps) { super(props); } render(): React.ReactNode { const { logStr, id, logCollection } = this.props; const isTwopath = logStr.indexOf(',') !== -1 ? true : false; return (
{isTwopath ? (
{logCollection ? (
Trial stdout NFS log
) : (
)}
) : ( )}
); } } export default PaitrialLog;