diff --git a/public/app/plugins/datasource/cloud-monitoring/components/Fields.tsx b/public/app/plugins/datasource/cloud-monitoring/components/Fields.tsx index b04d70dce2e..f6cc8bb34ab 100644 --- a/public/app/plugins/datasource/cloud-monitoring/components/Fields.tsx +++ b/public/app/plugins/datasource/cloud-monitoring/components/Fields.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { SelectableValue } from '@grafana/data'; -import { InlineField, Select } from '@grafana/ui'; +import { Field, Select } from '@grafana/ui'; interface VariableQueryFieldProps { onChange: (value: string) => void; @@ -19,7 +19,7 @@ export const VariableQueryField = ({ allowCustomValue = false, }: VariableQueryFieldProps) => { return ( - + - - - - + null} + label="Query Type" + /> ); } diff --git a/public/app/plugins/datasource/cloud-monitoring/components/__snapshots__/VariableQueryEditor.test.tsx.snap b/public/app/plugins/datasource/cloud-monitoring/components/__snapshots__/VariableQueryEditor.test.tsx.snap index 2d4fdc81ded..8d61351c259 100644 --- a/public/app/plugins/datasource/cloud-monitoring/components/__snapshots__/VariableQueryEditor.test.tsx.snap +++ b/public/app/plugins/datasource/cloud-monitoring/components/__snapshots__/VariableQueryEditor.test.tsx.snap @@ -2,23 +2,99 @@ exports[`VariableQueryEditor renders correctly 1`] = `
- - Query Type -
- + +
+
+
+
+ + +
+
+
+ Loading... +
+
+ +
+
+
+
+
+
+
+
`;