Skip to content

Commit

Permalink
fix arithemtic copy/paste typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jbguerraz committed Apr 9, 2021
1 parent b5cee7f commit e704bd0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
6 changes: 2 additions & 4 deletions src/DruidDataSource.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { DataSourceInstanceSettings } from '@grafana/data';
import { MetricFindValue } from '@grafana/data';
import { DataSourceWithBackend } from '@grafana/runtime';
import { getTemplateSrv } from '@grafana/runtime';
import { DataSourceInstanceSettings, MetricFindValue } from '@grafana/data';
import { DataSourceWithBackend, getTemplateSrv } from '@grafana/runtime';
import { DruidSettings, DruidQuery } from './types';
import { cloneDeepWith } from 'lodash';

Expand Down
3 changes: 1 addition & 2 deletions src/builder/filter/In.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { PureComponent, ChangeEvent } from 'react';
import { MultiSelect } from '@grafana/ui';
import { LegacyForms, MultiSelect } from '@grafana/ui';
import { SelectableValue } from '@grafana/data';
import { LegacyForms } from '@grafana/ui';
import { css } from 'emotion';
import { QueryBuilderProps, QueryBuilderOptions } from '../types';
import { ExtractionFn } from '../extractionfn';
Expand Down
2 changes: 1 addition & 1 deletion src/builder/postaggregation/Arithmetic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class Arithmetic extends PureComponent<QueryBuilderProps, State> {
super(props);
this.resetBuilder(['type', 'name', 'fn', 'fields', 'ordering']);
const { builder } = props.options;
builder.type = 'cardinality';
builder.type = 'arithmetic';
if (undefined === builder.fields) {
builder.fields = [];
}
Expand Down

0 comments on commit e704bd0

Please sign in to comment.