mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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',
|
label: 'Flux',
|
||||||
value: InfluxVersion.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>> = [
|
const versionsWithSQL: Array<SelectableValue<InfluxVersion>> = [
|
||||||
...versions,
|
{ ...versions[0] },
|
||||||
{
|
{
|
||||||
label: 'SQL',
|
label: 'SQL',
|
||||||
value: InfluxVersion.SQL,
|
value: InfluxVersion.SQL,
|
||||||
description: 'Native SQL language. Supported in InfluxDB 3.0',
|
description: 'Native SQL language. Supported in InfluxDB 3.0',
|
||||||
},
|
},
|
||||||
|
{ ...versions[1] },
|
||||||
];
|
];
|
||||||
|
|
||||||
export type Props = DataSourcePluginOptionsEditorProps<InfluxOptions>;
|
export type Props = DataSourcePluginOptionsEditorProps<InfluxOptions>;
|
||||||
|
Loading…
Reference in New Issue
Block a user