Chore: Reorder InfluxDB languages in combobox (#76352)

Reorder the languages in combobox
This commit is contained in:
ismail simsek 2023-10-11 15:16:21 +02:00 committed by GitHub
parent 123f34c73d
commit bd23757a42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,17 +29,18 @@ const versions: Array<SelectableValue<InfluxVersion>> = [
{
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<SelectableValue<InfluxVersion>> = [
...versions,
{ ...versions[0] },
{
label: 'SQL',
value: InfluxVersion.SQL,
description: 'Native SQL language. Supported in InfluxDB 3.0',
},
{ ...versions[1] },
];
export type Props = DataSourcePluginOptionsEditorProps<InfluxOptions>;