Commit e50a87ae by Peter Holmberg

using constant

parent 327cdf34
......@@ -163,7 +163,7 @@ class Graph extends Component<any, any> {
!this.state.showAllTimeSeries && (
<div className="time-series-disclaimer">
<i className="fa fa-fw fa-warning disclaimer-icon" />
Showing only 20 time series.{' '}
{`Showing only ${MAX_NUMBER_OF_TIME_SERIES} time series. `}
<span className="show-all-time-series" onClick={this.onShowAllTimeSeries}>{`Show all ${
this.props.data.length
}`}</span>
......
......@@ -468,8 +468,7 @@ exports[`Render should render component with disclaimer 1`] = `
<i
className="fa fa-fw fa-warning disclaimer-icon"
/>
Showing only 20 time series.
Showing only 20 time series.
<span
className="show-all-time-series"
onClick={[Function]}
......
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