Skip to content

Commit 698f651

Browse files
committed
fix: format values in TrainingMonitor charts
1 parent 96ba185 commit 698f651

File tree

1 file changed

+1
-11
lines changed
  • src/components/widgets/TrainingMonitor/components/MeasureChart

1 file changed

+1
-11
lines changed

src/components/widgets/TrainingMonitor/components/MeasureChart/index.js

+1-11
Original file line numberDiff line numberDiff line change
@@ -430,16 +430,6 @@ class MeasureChart extends React.Component {
430430

431431
}
432432

433-
if (this.props.useBestValue && bestValue) {
434-
displayedValue = bestValue;
435-
bestValue = null;
436-
}
437-
438-
if (this.props.useMinValue && minValue) {
439-
displayedValue = minValue;
440-
minValue = null;
441-
}
442-
443433
const badgeIndex = index % 8;
444434

445435
return (
@@ -602,7 +592,7 @@ class MeasureChart extends React.Component {
602592
<div className="description row">
603593
{values}
604594
<h4>
605-
{title} {this.props.useBestValue ? "(best)" : null}
595+
{title}
606596
{this.props.showLogScale ? (
607597
<span className="logScale">
608598
<input type="checkbox" onChange={this.toggleLogScale} /> Log

0 commit comments

Comments
 (0)