mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: cleanup after previous commits)
This commit is contained in:
parent
53b9f325c0
commit
2760889501
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user