mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
AdHocVars: Allow selecting datasource variable from data source picker (#74192)
This commit is contained in:
parent
3a90e2d13c
commit
3777ae0275
@ -64,7 +64,13 @@ export class AdHocVariableEditorUnConnected extends PureComponent<Props> {
|
||||
<>
|
||||
<VariableLegend>Ad-hoc options</VariableLegend>
|
||||
<Field label="Data source" htmlFor="data-source-picker">
|
||||
<DataSourcePicker current={variable.datasource} onChange={this.onDatasourceChanged} width={30} noDefault />
|
||||
<DataSourcePicker
|
||||
current={variable.datasource}
|
||||
onChange={this.onDatasourceChanged}
|
||||
width={30}
|
||||
variables={true}
|
||||
noDefault
|
||||
/>
|
||||
</Field>
|
||||
|
||||
{infoText ? <Alert title={infoText} severity="info" /> : null}
|
||||
|
Loading…
Reference in New Issue
Block a user