mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Annotations: Fix Datasource as template variable not available for annotations (#37506)
This commit is contained in:
parent
bfc8a5cf49
commit
d48e65bf74
@ -79,7 +79,13 @@ export const AnnotationSettingsEdit: React.FC<Props> = ({ editIdx, dashboard })
|
||||
/>
|
||||
</Field>
|
||||
<Field label="Data source">
|
||||
<DataSourcePicker width={50} annotations current={annotation.datasource} onChange={onDataSourceChange} />
|
||||
<DataSourcePicker
|
||||
width={50}
|
||||
annotations
|
||||
variables
|
||||
current={annotation.datasource}
|
||||
onChange={onDataSourceChange}
|
||||
/>
|
||||
</Field>
|
||||
<Field label="Enabled" description="When enabled the annotation query is issued every dashboard refresh">
|
||||
<Checkbox name="enable" id="enable" value={annotation.enable} onChange={onChange} />
|
||||
|
Loading…
Reference in New Issue
Block a user