Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e50a87ae
Commit
e50a87ae
authored
Sep 28, 2018
by
Peter Holmberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using constant
parent
327cdf34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
public/app/features/explore/Graph.tsx
+1
-1
public/app/features/explore/__snapshots__/Graph.test.tsx.snap
+1
-2
No files found.
public/app/features/explore/Graph.tsx
View file @
e50a87ae
...
@@ -163,7 +163,7 @@ class Graph extends Component<any, any> {
...
@@ -163,7 +163,7 @@ class Graph extends Component<any, any> {
!
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"
/>
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 ${
<
span
className=
"show-all-time-series"
onClick=
{
this
.
onShowAllTimeSeries
}
>
{
`Show all ${
this.props.data.length
this.props.data.length
}`
}
</
span
>
}`
}
</
span
>
...
...
public/app/features/explore/__snapshots__/Graph.test.tsx.snap
View file @
e50a87ae
...
@@ -468,8 +468,7 @@ exports[`Render should render component with disclaimer 1`] = `
...
@@ -468,8 +468,7 @@ exports[`Render should render component with disclaimer 1`] = `
<i
<i
className="fa fa-fw fa-warning disclaimer-icon"
className="fa fa-fw fa-warning disclaimer-icon"
/>
/>
Showing only 20 time series.
Showing only 20 time series.
<span
<span
className="show-all-time-series"
className="show-all-time-series"
onClick={[Function]}
onClick={[Function]}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment