Commit 327cdf34 by Peter Holmberg

using constant

parent 32389f61
...@@ -159,7 +159,7 @@ class Graph extends Component<any, any> { ...@@ -159,7 +159,7 @@ class Graph extends Component<any, any> {
} }
return ( return (
<div> <div>
{this.props.data.length > 20 && {this.props.data.length > MAX_NUMBER_OF_TIME_SERIES &&
!this.state.showAllTimeSeries && ( !this.state.showAllTimeSeries && (
<div className="time-series-disclaimer"> <div className="time-series-disclaimer">
<i className="fa fa-fw fa-warning disclaimer-icon" /> <i className="fa fa-fw fa-warning disclaimer-icon" />
......
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