Commit 27608895 by Ryan McKinley Committed by GitHub

Chore: cleanup after previous commits)

parent 53b9f325
......@@ -31,10 +31,6 @@
</div>
</div>
<div class="gf-form" ng-show="ctrl.showLastQuerySQL">
<pre class="gf-form-pre">{{ctrl.lastQueryMeta.sql}}</pre>
</div>
<div class="gf-form" ng-show="ctrl.showHelp">
<pre class="gf-form-pre alert alert-info">Time series:
- return column named time (in UTC), as a unix time stamp or any sql native date data type. You can use the macros below.
......
......@@ -31,7 +31,7 @@ export class MssqlQueryCtrl extends QueryCtrl {
formats: any[];
target: MssqlQuery;
lastQueryError: string;
lastQueryError: string | null;
showHelp: boolean;
/** @ngInject */
......
......@@ -29,7 +29,7 @@ export class MysqlQueryCtrl extends QueryCtrl {
static templateUrl = 'partials/query.editor.html';
formats: any[];
lastQueryError: string;
lastQueryError: string | null;
showHelp: boolean;
queryModel: MysqlQuery;
......
......@@ -28,11 +28,10 @@ WHERE
export class PostgresQueryCtrl extends QueryCtrl {
static templateUrl = 'partials/query.editor.html';
showLastQuerySQL: boolean;
formats: any[];
queryModel: PostgresQuery;
metaBuilder: PostgresMetaQuery;
lastQueryError: string;
lastQueryError: string | null;
showHelp: boolean;
tableSegment: any;
whereAdd: any;
......
......@@ -4,7 +4,7 @@ import { Icon } from '@grafana/ui';
export interface Props {
rawQuery: string;
lastQueryError: string;
lastQueryError?: string;
metricDescriptor?: MetricDescriptor;
}
......
......@@ -19,15 +19,6 @@ export const plugin = new PanelPlugin<TextOptions>(TextPanel)
},
defaultValue: 'markdown',
})
.addStringArray({
path: 'strings',
name: 'String Array',
description: 'list of strings',
settings: {
placeholder: 'Add a string value (text2 demo)',
},
defaultValue: ['hello', 'world'],
})
.addTextInput({
path: 'content',
name: 'Content',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment