diff --git a/public/app/features/alerting/unified/components/rule-editor/QueryEditor.tsx b/public/app/features/alerting/unified/components/rule-editor/QueryEditor.tsx index e94779bf16b..3eb91a9d545 100644 --- a/public/app/features/alerting/unified/components/rule-editor/QueryEditor.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/QueryEditor.tsx @@ -9,7 +9,7 @@ import { RelativeTimeRange, } from '@grafana/data'; import { selectors } from '@grafana/e2e-selectors'; -import { Button, HorizontalGroup, Icon, stylesFactory, Tooltip } from '@grafana/ui'; +import { Button, HorizontalGroup, stylesFactory } from '@grafana/ui'; import { config } from '@grafana/runtime'; import { QueryRows } from './QueryRows'; import { @@ -121,18 +121,15 @@ export class QueryEditor extends PureComponent { Query {config.expressionsEnabled && ( - - - + )} ); diff --git a/public/app/features/query/components/QueryGroup.tsx b/public/app/features/query/components/QueryGroup.tsx index 0f27e27b843..438d0b4c207 100644 --- a/public/app/features/query/components/QueryGroup.tsx +++ b/public/app/features/query/components/QueryGroup.tsx @@ -5,12 +5,10 @@ import { Button, CustomScrollbar, HorizontalGroup, - Icon, InlineFormLabel, Modal, ScrollbarPosition, stylesFactory, - Tooltip, } from '@grafana/ui'; import { DataSourcePicker, getDataSourceSrv } from '@grafana/runtime'; import { QueryEditorRows } from './QueryEditorRows'; @@ -334,17 +332,14 @@ export class QueryGroup extends PureComponent { )} {config.expressionsEnabled && this.isExpressionsSupported(dsSettings) && ( - - - + )} {this.renderExtraActions()}