Explorar o código

add current editor to panel targets

Erik Sundell %!s(int64=7) %!d(string=hai) anos
pai
achega
4eebede9ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 => '',