Browse Source

add current editor to panel targets

Erik Sundell 7 năm trước cách đây
mục cha
commit
4eebede9ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 => '',