Commit 8531d809 authored by Lijiao's avatar Lijiao Committed by chicm-ms
Browse files

fix bug of trial detail page break down when succeed trial have not final result (#1015)

parent 642967b8
......@@ -30,7 +30,8 @@ class DefaultPoint extends React.Component<DefaultPointProps, DefaultPointState>
const accSource: Array<DetailAccurPoint> = [];
Object.keys(showSource).map(item => {
const temp = showSource[item];
if (temp.status === 'SUCCEEDED' && temp.acc.default !== undefined) {
if (temp.status === 'SUCCEEDED' && temp.acc !== undefined) {
if (temp.acc.default !== undefined) {
const searchSpace = temp.description.parameters;
accSource.push({
acc: temp.acc.default,
......@@ -38,6 +39,7 @@ class DefaultPoint extends React.Component<DefaultPointProps, DefaultPointState>
searchSpace: JSON.stringify(searchSpace)
});
}
}
});
const resultList: Array<number | string>[] = [];
Object.keys(accSource).map(item => {
......
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