"src/sdk/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "5461fe7792ce43c3a7009a602c086842fe9fae64"
Commit 33feb6e9 authored by Lijiao's avatar Lijiao Committed by liuzhe-lz
Browse files

fix bug of detail page broken when succeeded trial without final result (#1472)

* Update filter description and fix typo

* fix comments

* change node to result

* Add SupportTrainingService.md (#1401)

* fix nnictl schema

* Eject from react-scripts-ts-antd and bump webui dependencies version (#1412)

* Eject from react-scripts-ts-antd

* test whether it can pass CI without ugilfy

* temporarily disable uglify

* Try to fix security alert (#1429)

* fix bug of detail page broken when trial is succeed but not report final result
parent 7b755391
......@@ -85,7 +85,9 @@ class DefaultPoint extends React.Component<DefaultPointProps, DefaultPointState>
});
// deal with best metric line
const bestCurve: Array<number | object>[] = []; // best curve data source
bestCurve.push([lineListDefault[0][0], lineListDefault[0][1], accSource[0].searchSpace]);
if (lineListDefault[0] !== undefined) {
bestCurve.push([lineListDefault[0][0], lineListDefault[0][1], accSource[0].searchSpace]);
}
if (optimize === 'maximize') {
for (let i = 1; i < lineListDefault.length; i++) {
const val = lineListDefault[i][1];
......
......@@ -115,6 +115,7 @@
}
#detail-button{
margin: 2px 0;
.common-style, .common-style:visited, .common-style:focus{
height: 26px;
border: none;
......@@ -131,7 +132,7 @@
.common-style:disabled{
background-color: #f4f4f4;
}
.special, .special:visited, .special:focus{
.special, .special:visited, .special:focus, .special button{
height: 26px;
border: none;
border-radius: 0;
......@@ -146,7 +147,7 @@
background-color: #c8c8c8;
outline: 0;
}
.special:disabled{
.special:disabled, .special button:disabled{
background-color: #f4f4f4;
color: #d9d9d9;
}
......
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