diff --git a/public/app/plugins/datasource/stackdriver/components/Aggregations.tsx b/public/app/plugins/datasource/stackdriver/components/Aggregations.tsx index f0a311e62e3..81da7aa128c 100644 --- a/public/app/plugins/datasource/stackdriver/components/Aggregations.tsx +++ b/public/app/plugins/datasource/stackdriver/components/Aggregations.tsx @@ -63,7 +63,7 @@ export class Aggregations extends React.Component { const { templateSrv, onChange, crossSeriesReducer } = this.props; return ( - + <>
@@ -79,15 +79,15 @@ export class Aggregations extends React.Component {
{this.props.children(this.state.displayAdvancedOptions)} - + ); } } diff --git a/public/app/plugins/datasource/stackdriver/components/AliasBy.tsx b/public/app/plugins/datasource/stackdriver/components/AliasBy.tsx index 486a051fdc1..5b0ef2c7d8f 100644 --- a/public/app/plugins/datasource/stackdriver/components/AliasBy.tsx +++ b/public/app/plugins/datasource/stackdriver/components/AliasBy.tsx @@ -39,7 +39,7 @@ export class AliasBy extends Component { render() { return ( - + <>
@@ -54,7 +54,7 @@ export class AliasBy extends Component {
- + ); } } diff --git a/public/app/plugins/datasource/stackdriver/components/AlignmentPeriods.tsx b/public/app/plugins/datasource/stackdriver/components/AlignmentPeriods.tsx index da2057bcabd..b5abb6f3cb6 100644 --- a/public/app/plugins/datasource/stackdriver/components/AlignmentPeriods.tsx +++ b/public/app/plugins/datasource/stackdriver/components/AlignmentPeriods.tsx @@ -12,7 +12,7 @@ export interface Props { export const AlignmentPeriods: SFC = ({ alignmentPeriod, templateSrv, onChange }) => { return ( - + <>
@@ -35,6 +35,6 @@ export const AlignmentPeriods: SFC = ({ alignmentPeriod, templateSrv, onC />
-
+ ); }; diff --git a/public/app/plugins/datasource/stackdriver/components/Alignments.tsx b/public/app/plugins/datasource/stackdriver/components/Alignments.tsx index b377b432e44..e72cafaf808 100644 --- a/public/app/plugins/datasource/stackdriver/components/Alignments.tsx +++ b/public/app/plugins/datasource/stackdriver/components/Alignments.tsx @@ -12,7 +12,7 @@ export interface Props { export const Alignments: SFC = ({ perSeriesAligner, templateSrv, onChange, alignOptions }) => { return ( - + <>
@@ -26,6 +26,6 @@ export const Alignments: SFC = ({ perSeriesAligner, templateSrv, onChange />
-
+ ); }; diff --git a/public/app/plugins/datasource/stackdriver/components/AnnotationQueryEditor.tsx b/public/app/plugins/datasource/stackdriver/components/AnnotationQueryEditor.tsx index 48add7d584d..52a08abfbcd 100644 --- a/public/app/plugins/datasource/stackdriver/components/AnnotationQueryEditor.tsx +++ b/public/app/plugins/datasource/stackdriver/components/AnnotationQueryEditor.tsx @@ -62,7 +62,7 @@ export class AnnotationQueryEditor extends React.Component { const { datasource } = this.props; return ( - + <> { onChange={value => this.handleMetricTypeChange(value)} > {metric => ( - + <> this.handleChange('filters', value)} filters={filters} @@ -81,7 +81,7 @@ export class AnnotationQueryEditor extends React.Component { datasource={datasource} metricType={metric ? metric.type : ''} /> - + )}
@@ -109,7 +109,7 @@ export class AnnotationQueryEditor extends React.Component {
-
+ ); } } diff --git a/public/app/plugins/datasource/stackdriver/components/Help.tsx b/public/app/plugins/datasource/stackdriver/components/Help.tsx index e865d1f4046..194f367d230 100644 --- a/public/app/plugins/datasource/stackdriver/components/Help.tsx +++ b/public/app/plugins/datasource/stackdriver/components/Help.tsx @@ -35,7 +35,7 @@ export class Help extends React.Component { const { datasource, rawQuery, lastQueryError } = this.props; return ( - + <>
this.handleHelpClicked()}> @@ -106,7 +106,7 @@ export class Help extends React.Component {
{lastQueryError}
)} - + ); } } diff --git a/public/app/plugins/datasource/stackdriver/components/Metrics.tsx b/public/app/plugins/datasource/stackdriver/components/Metrics.tsx index c2993e30bee..9c5dfc88739 100644 --- a/public/app/plugins/datasource/stackdriver/components/Metrics.tsx +++ b/public/app/plugins/datasource/stackdriver/components/Metrics.tsx @@ -146,7 +146,7 @@ export class Metrics extends React.Component { const { metricType, templateSrv } = this.props; return ( - + <>
Service @@ -186,7 +186,7 @@ export class Metrics extends React.Component {
{this.props.children(this.state.metricDescriptor)} -
+ ); } } diff --git a/public/app/plugins/datasource/stackdriver/components/QueryEditor.tsx b/public/app/plugins/datasource/stackdriver/components/QueryEditor.tsx index d639cd821f5..b7a4b98823b 100644 --- a/public/app/plugins/datasource/stackdriver/components/QueryEditor.tsx +++ b/public/app/plugins/datasource/stackdriver/components/QueryEditor.tsx @@ -138,7 +138,7 @@ export class QueryEditor extends React.Component { const { datasource } = this.props; return ( - + <> { onChange={value => this.handleMetricTypeChange(value)} > {metric => ( - + <> this.handleChange('filters', value)} groupBysChanged={value => this.handleChange('groupBys', value)} @@ -184,10 +184,10 @@ export class QueryEditor extends React.Component { onChange={value => this.handleChange('alignmentPeriod', value)} /> - + )} - + ); } } diff --git a/public/app/plugins/datasource/stackdriver/components/VariableQueryEditor.tsx b/public/app/plugins/datasource/stackdriver/components/VariableQueryEditor.tsx index 1f349ccab59..60f618c8504 100644 --- a/public/app/plugins/datasource/stackdriver/components/VariableQueryEditor.tsx +++ b/public/app/plugins/datasource/stackdriver/components/VariableQueryEditor.tsx @@ -134,7 +134,7 @@ export class StackdriverVariableQueryEditor extends PureComponent + <> )} - + ); case MetricFindQueryTypes.Aligners: case MetricFindQueryTypes.Aggregations: return ( - + <> this.onMetricTypeChange(e)} label="Metric Type" /> - + ); default: return ''; @@ -182,7 +182,7 @@ export class StackdriverVariableQueryEditor extends PureComponent + <> {this.renderQueryTypeSwitch(this.state.selectedQueryType)} - + ); } }