Преглед изворни кода

add current editor to panel targets

Erik Sundell пре 7 година
родитељ
комит
4eebede9ef
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      public/app/features/explore/QueryEditor.tsx

+ 1 - 1
public/app/features/explore/QueryEditor.tsx

@@ -42,7 +42,7 @@ export default class QueryEditor extends PureComponent<QueryEditorProps, any> {
         events: exploreEvents,
         panel: {
           datasource,
-          targets: [{}],
+          targets: [target],
         },
         dashboard: {
           getNextQueryLetter: x => '',