diff --git a/src/webui/src/components/trial-detail/DefaultMetricPoint.tsx b/src/webui/src/components/trial-detail/DefaultMetricPoint.tsx index 755fb3d736..a4d023ff4d 100644 --- a/src/webui/src/components/trial-detail/DefaultMetricPoint.tsx +++ b/src/webui/src/components/trial-detail/DefaultMetricPoint.tsx @@ -30,13 +30,15 @@ class DefaultPoint extends React.Component const accSource: Array = []; Object.keys(showSource).map(item => { const temp = showSource[item]; - if (temp.status === 'SUCCEEDED' && temp.acc.default !== undefined) { - const searchSpace = temp.description.parameters; - accSource.push({ - acc: temp.acc.default, - index: temp.sequenceId, - searchSpace: JSON.stringify(searchSpace) - }); + if (temp.status === 'SUCCEEDED' && temp.acc !== undefined) { + if (temp.acc.default !== undefined) { + const searchSpace = temp.description.parameters; + accSource.push({ + acc: temp.acc.default, + index: temp.sequenceId, + searchSpace: JSON.stringify(searchSpace) + }); + } } }); const resultList: Array[] = [];