Variables: Show variable reference instead of interpolated datasource in query variable editor (#115624)

show variable ref
This commit is contained in:
Kristina Demeshchik
2025-12-19 10:38:22 -05:00
committed by GitHub
parent 7812f783bb
commit aa69d97f1e
@@ -265,7 +265,7 @@ export function Editor({ variable }: { variable: QueryVariable }) {
htmlFor="data-source-picker" htmlFor="data-source-picker"
noMargin noMargin
> >
<DataSourcePicker current={selectedDatasource} onChange={onDataSourceChange} variables={true} width={30} /> <DataSourcePicker current={datasourceRef} onChange={onDataSourceChange} variables={true} width={30} />
</Field> </Field>
{selectedDatasource && VariableQueryEditor && ( {selectedDatasource && VariableQueryEditor && (