Commit 7c2ed5c1 by Torkel Ödegaard Committed by GitHub

SharedQuery: Fixed issue when using rows (#19610)

parent 58badd70
......@@ -146,8 +146,12 @@ export class DashboardQueryEditor extends PureComponent<Props, State> {
const panels: Array<SelectableValue<number>> = [];
for (const panel of dashboard.panels) {
const plugin = config.panels[panel.type];
if (!plugin) {
continue;
}
if (panel.targets && panel.datasource !== SHARED_DASHBODARD_QUERY) {
const plugin = config.panels[panel.type];
const item = {
value: panel.id,
label: panel.title ? panel.title : 'Panel ' + panel.id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment