mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
prettier: ran on all files again, sorry. now settings are defined in package.json
This commit is contained in:
@ -39,10 +39,7 @@ export class PostgresQueryCtrl extends QueryCtrl {
|
||||
|
||||
this.target.format = this.target.format || 'time_series';
|
||||
this.target.alias = '';
|
||||
this.formats = [
|
||||
{ text: 'Time series', value: 'time_series' },
|
||||
{ text: 'Table', value: 'table' },
|
||||
];
|
||||
this.formats = [{ text: 'Time series', value: 'time_series' }, { text: 'Table', value: 'table' }];
|
||||
|
||||
if (!this.target.rawSql) {
|
||||
// special handling when in table panel
|
||||
@ -54,11 +51,7 @@ export class PostgresQueryCtrl extends QueryCtrl {
|
||||
}
|
||||
}
|
||||
|
||||
this.panelCtrl.events.on(
|
||||
'data-received',
|
||||
this.onDataReceived.bind(this),
|
||||
$scope
|
||||
);
|
||||
this.panelCtrl.events.on('data-received', this.onDataReceived.bind(this), $scope);
|
||||
this.panelCtrl.events.on('data-error', this.onDataError.bind(this), $scope);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user