Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
(cherry picked from commit c8fc840865)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
co-authored by
Torkel Ödegaard
parent
5188243e30
commit
81afb47ef3
@@ -160,6 +160,10 @@ function describeInitScenario(description: string, scenarioFn: ScenarioFn) {
|
||||
title: 'Redshift and Azure',
|
||||
type: 'stat',
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
type: 'text',
|
||||
},
|
||||
],
|
||||
title: 'Collapsed Panel',
|
||||
type: 'row',
|
||||
|
||||
@@ -115,7 +115,7 @@ const getQueriesByDatasource = (
|
||||
panels.forEach((panel) => {
|
||||
if (panel.panels) {
|
||||
getQueriesByDatasource(panel.panels, queries);
|
||||
} else {
|
||||
} else if (panel.targets) {
|
||||
panel.targets.forEach((target) => {
|
||||
if (target.datasource?.type) {
|
||||
if (queries[target.datasource.type]) {
|
||||
|
||||
Reference in New Issue
Block a user