Parcourir la source

add current editor to panel targets

Erik Sundell il y a 7 ans
Parent
commit
4eebede9ef
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 => '',