Chore: Change `JSON file` to `JSON File` for consistency with other tabs (#54453)

pull/54563/head^2
Hamas Shafiq 3 years ago committed by GitHub
parent 3b848fd91b
commit 028ba2bf95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/plugins/datasource/jaeger/components/QueryEditor.tsx
  2. 2
      public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx
  3. 2
      public/app/plugins/datasource/zipkin/QueryField.tsx

@ -62,7 +62,7 @@ export function QueryEditor({ datasource, query, onChange, onRunQuery }: Props)
options={[
{ value: 'search', label: 'Search' },
{ value: undefined, label: 'TraceID' },
{ value: 'upload', label: 'JSON file' },
{ value: 'upload', label: 'JSON File' },
]}
value={query.queryType}
onChange={(v) =>

@ -78,7 +78,7 @@ class TempoQueryFieldComponent extends React.PureComponent<Props> {
const queryTypeOptions: Array<SelectableValue<TempoQueryType>> = [
{ value: 'traceId', label: 'TraceID' },
{ value: 'upload', label: 'JSON file' },
{ value: 'upload', label: 'JSON File' },
{ value: 'serviceMap', label: 'Service Graph' },
];

@ -66,7 +66,7 @@ export const ZipkinQueryField = ({ query, onChange, onRunQuery, datasource }: Pr
<RadioButtonGroup<ZipkinQueryType>
options={[
{ value: 'traceID', label: 'TraceID' },
{ value: 'upload', label: 'JSON file' },
{ value: 'upload', label: 'JSON File' },
]}
value={query.queryType || 'traceID'}
onChange={(v) =>

Loading…
Cancel
Save