mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
using constant
This commit is contained in:
parent
327cdf34d5
commit
e50a87aec9
@ -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]}
|
||||
|
Loading…
Reference in New Issue
Block a user