Просмотр исходного кода

add current editor to panel targets

Erik Sundell 7 лет назад
Родитель
Сommit
4eebede9ef
1 измененных файлов с 1 добавлено и 1 удалено
  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 => '',