Przeglądaj źródła

add current editor to panel targets

Erik Sundell 7 lat temu
rodzic
commit
4eebede9ef
1 zmienionych plików z 1 dodań i 1 usunięć
  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 => '',