Chore: cleanup after previous commits)

This commit is contained in:
Ryan McKinley 2020-05-31 07:45:39 -07:00 committed by GitHub
parent 53b9f325c0
commit 2760889501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 18 deletions

View File

@ -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.

View File

@ -31,7 +31,7 @@ export class MssqlQueryCtrl extends QueryCtrl {
formats: any[];
target: MssqlQuery;
lastQueryError: string;
lastQueryError: string | null;
showHelp: boolean;
/** @ngInject */

View File

@ -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;

View File

@ -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;

View File

@ -4,7 +4,7 @@ import { Icon } from '@grafana/ui';
export interface Props {
rawQuery: string;
lastQueryError: string;
lastQueryError?: string;
metricDescriptor?: MetricDescriptor;
}

View File

@ -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',