mirror of https://github.com/grafana/grafana.git
Saved Queries: Remove datasource autoselection when opening
This commit is contained in:
parent
e9f44daa7e
commit
d1ecae7cc4
|
|
@ -406,7 +406,6 @@ export function PanelDataQueriesTabRendered({ model }: SceneComponentProps<Panel
|
|||
icon="plus"
|
||||
onClick={() =>
|
||||
openQueryLibraryDrawer({
|
||||
datasourceFilters: getDatasourceNames(datasource, queries),
|
||||
onSelectQuery: onSelectQueryFromLibrary,
|
||||
options: {
|
||||
context: CoreApp.PanelEditor,
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@ export function SecondaryActions({
|
|||
variant="canvas"
|
||||
onClick={() =>
|
||||
openQueryLibraryDrawer({
|
||||
datasourceFilters: activeDatasources,
|
||||
onSelectQuery: onSelectQueryFromLibrary,
|
||||
options: { context: CoreApp.Explore },
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue