From 62046449d23289bc80f87f9e47efc3407920ce0a Mon Sep 17 00:00:00 2001 From: Hamas Shafiq Date: Tue, 27 Sep 2022 12:27:40 +0100 Subject: [PATCH] Tempo: Add a placeholder for the Limit field under the Search tab (#55557) --- .../app/plugins/datasource/tempo/QueryEditor/NativeSearch.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/tempo/QueryEditor/NativeSearch.tsx b/public/app/plugins/datasource/tempo/QueryEditor/NativeSearch.tsx index 57ecd300bd2..c29d232e621 100644 --- a/public/app/plugins/datasource/tempo/QueryEditor/NativeSearch.tsx +++ b/public/app/plugins/datasource/tempo/QueryEditor/NativeSearch.tsx @@ -23,7 +23,7 @@ import { notifyApp } from 'app/core/actions'; import { createErrorNotification } from 'app/core/copy/appNotification'; import { dispatch } from 'app/store/store'; -import { TempoDatasource } from '../datasource'; +import { DEFAULT_LIMIT, TempoDatasource } from '../datasource'; import TempoLanguageProvider from '../language_provider'; import { tokenizer } from '../syntax'; import { TempoQuery } from '../types'; @@ -284,6 +284,7 @@ const NativeSearch = ({ datasource, query, onChange, onBlur, onRunQuery }: Props { let limit = v.currentTarget.value ? parseInt(v.currentTarget.value, 10) : undefined;