Fixed typo in function name

This commit is contained in:
David Kaltschmidt 2018-11-30 15:19:09 +01:00
parent 979f3f3e0c
commit a513130493
2 changed files with 6 additions and 6 deletions

View File

@ -136,7 +136,7 @@ export function hasNonEmptyQuery(queries: DataQuery[]): boolean {
return queries.some(query => Object.keys(query).length > 2);
}
export function calculcateResultsFromQueryTransactions(
export function calculateResultsFromQueryTransactions(
queryTransactions: QueryTransaction[],
datasource: any,
graphInterval: number

View File

@ -16,7 +16,7 @@ import { RawTimeRange, DataQuery } from 'app/types/series';
import store from 'app/core/store';
import {
DEFAULT_RANGE,
calculcateResultsFromQueryTransactions,
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 = calculcateResultsFromQueryTransactions(
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 = calculcateResultsFromQueryTransactions(
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 = calculcateResultsFromQueryTransactions(
const results = calculateResultsFromQueryTransactions(
nextQueryTransactions,
state.datasource,
state.graphInterval
@ -692,7 +692,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
return qt;
});
const results = calculcateResultsFromQueryTransactions(
const results = calculateResultsFromQueryTransactions(
nextQueryTransactions,
state.datasource,
state.graphInterval