Commit 64abf1b1 authored by Lijiao's avatar Lijiao Committed by liuzhe-lz
Browse files

fix bug of hyper-parameter broken when have not succeeded trial (#1460)

* 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 hyper-parameter broken when have not succeeded trial

* update

* update
parent f7c8ab84
......@@ -237,7 +237,8 @@ class Para extends React.Component<ParaProps, ParaState> {
show: true
},
axisLabel: {
formatter: function (value: string) {
formatter: function (value?: string) {
if (value !== undefined) {
const length = value.length;
if (length > 16) {
const temp = value.split('');
......@@ -248,6 +249,9 @@ class Para extends React.Component<ParaProps, ParaState> {
} else {
return value;
}
} else {
return null;
}
}
},
}
......
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