mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
SharedQuery: Fixed issue when using rows (#19610)
This commit is contained in:
@@ -146,8 +146,12 @@ export class DashboardQueryEditor extends PureComponent<Props, State> {
|
|||||||
const panels: Array<SelectableValue<number>> = [];
|
const panels: Array<SelectableValue<number>> = [];
|
||||||
|
|
||||||
for (const panel of dashboard.panels) {
|
for (const panel of dashboard.panels) {
|
||||||
|
const plugin = config.panels[panel.type];
|
||||||
|
if (!plugin) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (panel.targets && panel.datasource !== SHARED_DASHBODARD_QUERY) {
|
if (panel.targets && panel.datasource !== SHARED_DASHBODARD_QUERY) {
|
||||||
const plugin = config.panels[panel.type];
|
|
||||||
const item = {
|
const item = {
|
||||||
value: panel.id,
|
value: panel.id,
|
||||||
label: panel.title ? panel.title : 'Panel ' + panel.id,
|
label: panel.title ? panel.title : 'Panel ' + panel.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user