From e50a87aec9f33fd7c42048df303ce3abd21c9cb6 Mon Sep 17 00:00:00 2001 From: Peter Holmberg Date: Fri, 28 Sep 2018 12:58:01 +0200 Subject: [PATCH] using constant --- public/app/features/explore/Graph.tsx | 2 +- public/app/features/explore/__snapshots__/Graph.test.tsx.snap | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/public/app/features/explore/Graph.tsx b/public/app/features/explore/Graph.tsx index e29abdbd194..8a9390a0b6b 100644 --- a/public/app/features/explore/Graph.tsx +++ b/public/app/features/explore/Graph.tsx @@ -163,7 +163,7 @@ class Graph extends Component { !this.state.showAllTimeSeries && (
- Showing only 20 time series.{' '} + {`Showing only ${MAX_NUMBER_OF_TIME_SERIES} time series. `} {`Show all ${ this.props.data.length }`} diff --git a/public/app/features/explore/__snapshots__/Graph.test.tsx.snap b/public/app/features/explore/__snapshots__/Graph.test.tsx.snap index 9f30a9e7eb9..a1e80defe92 100644 --- a/public/app/features/explore/__snapshots__/Graph.test.tsx.snap +++ b/public/app/features/explore/__snapshots__/Graph.test.tsx.snap @@ -468,8 +468,7 @@ exports[`Render should render component with disclaimer 1`] = ` - Showing only 20 time series. - + Showing only 20 time series.