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

This commit is contained in:
Hamas Shafiq 2022-09-01 09:09:13 +01:00 committed by GitHub
parent 3b848fd91b
commit 028ba2bf95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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) =>

View File

@ -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' },
];

View File

@ -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) =>