mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
Chore: Reorder InfluxDB languages in combobox (#76352)
Reorder the languages in combobox
This commit is contained in:
parent
123f34c73d
commit
bd23757a42
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user