From bd23757a4224413f87d37e73cba69dc9325703e4 Mon Sep 17 00:00:00 2001 From: ismail simsek Date: Wed, 11 Oct 2023 15:16:21 +0200 Subject: [PATCH] Chore: Reorder InfluxDB languages in combobox (#76352) Reorder the languages in combobox --- .../influxdb/components/editor/config/ConfigEditor.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/app/plugins/datasource/influxdb/components/editor/config/ConfigEditor.tsx b/public/app/plugins/datasource/influxdb/components/editor/config/ConfigEditor.tsx index f5e91daa356..87970d4db16 100644 --- a/public/app/plugins/datasource/influxdb/components/editor/config/ConfigEditor.tsx +++ b/public/app/plugins/datasource/influxdb/components/editor/config/ConfigEditor.tsx @@ -29,17 +29,18 @@ const versions: Array> = [ { label: 'Flux', value: InfluxVersion.Flux, - description: 'Advanced data scripting and query language. Supported in InfluxDB 2.x and 1.8+', + description: 'Supported in InfluxDB 2.x and 1.8+', }, ]; const versionsWithSQL: Array> = [ - ...versions, + { ...versions[0] }, { label: 'SQL', value: InfluxVersion.SQL, description: 'Native SQL language. Supported in InfluxDB 3.0', }, + { ...versions[1] }, ]; export type Props = DataSourcePluginOptionsEditorProps;