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
a5131304
Commit
a5131304
authored
Nov 30, 2018
by
David Kaltschmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo in function name
parent
979f3f3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
public/app/core/utils/explore.ts
+1
-1
public/app/features/explore/Explore.tsx
+5
-5
No files found.
public/app/core/utils/explore.ts
View file @
a5131304
...
...
@@ -136,7 +136,7 @@ export function hasNonEmptyQuery(queries: DataQuery[]): boolean {
return
queries
.
some
(
query
=>
Object
.
keys
(
query
).
length
>
2
);
}
export
function
calcul
c
ateResultsFromQueryTransactions
(
export
function
calculateResultsFromQueryTransactions
(
queryTransactions
:
QueryTransaction
[],
datasource
:
any
,
graphInterval
:
number
...
...
public/app/features/explore/Explore.tsx
View file @
a5131304
...
...
@@ -16,7 +16,7 @@ import { RawTimeRange, DataQuery } from 'app/types/series';
import
store
from
'app/core/store'
;
import
{
DEFAULT_RANGE
,
calcul
c
ateResultsFromQueryTransactions
,
calculateResultsFromQueryTransactions
,
ensureQueries
,
getIntervals
,
generateKey
,
...
...
@@ -432,7 +432,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
// Toggle off needs discarding of table queries
const
nextQueryTransactions
=
state
.
queryTransactions
.
filter
(
qt
=>
qt
.
resultType
!==
'Table'
);
const
results
=
calcul
c
ateResultsFromQueryTransactions
(
const
results
=
calculateResultsFromQueryTransactions
(
nextQueryTransactions
,
state
.
datasource
,
state
.
graphInterval
...
...
@@ -519,7 +519,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
// Discard transactions related to row query
const
nextQueryTransactions
=
queryTransactions
.
filter
(
qt
=>
qt
.
rowIndex
!==
index
);
const
results
=
calcul
c
ateResultsFromQueryTransactions
(
const
results
=
calculateResultsFromQueryTransactions
(
nextQueryTransactions
,
state
.
datasource
,
state
.
graphInterval
...
...
@@ -634,7 +634,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
// Append new transaction
const
nextQueryTransactions
=
[...
remainingTransactions
,
transaction
];
const
results
=
calcul
c
ateResultsFromQueryTransactions
(
const
results
=
calculateResultsFromQueryTransactions
(
nextQueryTransactions
,
state
.
datasource
,
state
.
graphInterval
...
...
@@ -692,7 +692,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
return
qt
;
});
const
results
=
calcul
c
ateResultsFromQueryTransactions
(
const
results
=
calculateResultsFromQueryTransactions
(
nextQueryTransactions
,
state
.
datasource
,
state
.
graphInterval
...
...
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