Ver Fonte

add current editor to panel targets

Erik Sundell há 7 anos atrás
pai
commit
4eebede9ef
1 ficheiros alterados com 1 adições e 1 exclusões
  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,
         events: exploreEvents,
         panel: {
         panel: {
           datasource,
           datasource,
-          targets: [{}],
+          targets: [target],
         },
         },
         dashboard: {
         dashboard: {
           getNextQueryLetter: x => '',
           getNextQueryLetter: x => '',