diff --git a/public/app/features/dashboard/panel_editor/QueryEditorRow.tsx b/public/app/features/dashboard/panel_editor/QueryEditorRow.tsx index d27e0dead57..410d0029b15 100644 --- a/public/app/features/dashboard/panel_editor/QueryEditorRow.tsx +++ b/public/app/features/dashboard/panel_editor/QueryEditorRow.tsx @@ -43,7 +43,7 @@ export class QueryEditorRow extends PureComponent { } getAngularQueryComponentScope(): AngularQueryComponentScope { - const { panel, onAddQuery, onMoveQuery, onRemoveQuery, query } = this.props; + const { panel, query } = this.props; const { datasource } = this.state; return { @@ -52,9 +52,6 @@ export class QueryEditorRow extends PureComponent { panel: panel, refresh: () => panel.refresh(), render: () => panel.render, - addQuery: onAddQuery, - moveQuery: onMoveQuery, - removeQuery: onRemoveQuery, events: panel.events, }; } @@ -234,9 +231,6 @@ export interface AngularQueryComponentScope { events: Emitter; refresh: () => void; render: () => void; - removeQuery: (query: DataQuery) => void; - addQuery: (query?: DataQuery) => void; - moveQuery: (query: DataQuery, direction: number) => void; datasource: DataSourceApi; toggleEditorMode?: () => void; getCollapsedText?: () => string; diff --git a/public/app/plugins/datasource/postgres/partials/query.editor.html b/public/app/plugins/datasource/postgres/partials/query.editor.html index 6c3bf02cb51..5d866245aff 100644 --- a/public/app/plugins/datasource/postgres/partials/query.editor.html +++ b/public/app/plugins/datasource/postgres/partials/query.editor.html @@ -138,9 +138,9 @@
Time series:
 - return column named time (UTC in seconds or timestamp)
 - return column(s) with numeric datatype as values
-Optional: 
-  - return column named metric to represent the series name. 
-  - If multiple value columns are returned the metric column is used as prefix. 
+Optional:
+  - return column named metric to represent the series name.
+  - If multiple value columns are returned the metric column is used as prefix.
   - If no column named metric is found the column name of the value column is used as series name
 
 Resultsets of time series queries need to be sorted by time.