From 028ba2bf9514ff5035dad856e7e70240a34e8766 Mon Sep 17 00:00:00 2001 From: Hamas Shafiq Date: Thu, 1 Sep 2022 09:09:13 +0100 Subject: [PATCH] Chore: Change `JSON file` to `JSON File` for consistency with other tabs (#54453) --- public/app/plugins/datasource/jaeger/components/QueryEditor.tsx | 2 +- public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx | 2 +- public/app/plugins/datasource/zipkin/QueryField.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/app/plugins/datasource/jaeger/components/QueryEditor.tsx b/public/app/plugins/datasource/jaeger/components/QueryEditor.tsx index c41d7196306..0f42aa4cb52 100644 --- a/public/app/plugins/datasource/jaeger/components/QueryEditor.tsx +++ b/public/app/plugins/datasource/jaeger/components/QueryEditor.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) => diff --git a/public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx b/public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx index f9122142f48..c893c9ee648 100644 --- a/public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx +++ b/public/app/plugins/datasource/tempo/QueryEditor/QueryField.tsx @@ -78,7 +78,7 @@ class TempoQueryFieldComponent extends React.PureComponent { const queryTypeOptions: Array> = [ { value: 'traceId', label: 'TraceID' }, - { value: 'upload', label: 'JSON file' }, + { value: 'upload', label: 'JSON File' }, { value: 'serviceMap', label: 'Service Graph' }, ]; diff --git a/public/app/plugins/datasource/zipkin/QueryField.tsx b/public/app/plugins/datasource/zipkin/QueryField.tsx index 68d16163fbb..d30454b9b26 100644 --- a/public/app/plugins/datasource/zipkin/QueryField.tsx +++ b/public/app/plugins/datasource/zipkin/QueryField.tsx @@ -66,7 +66,7 @@ export const ZipkinQueryField = ({ query, onChange, onRunQuery, datasource }: Pr options={[ { value: 'traceID', label: 'TraceID' }, - { value: 'upload', label: 'JSON file' }, + { value: 'upload', label: 'JSON File' }, ]} value={query.queryType || 'traceID'} onChange={(v) =>