mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
24 lines
385 B
TypeScript
24 lines
385 B
TypeScript
///<reference path="../../headers/common.d.ts" />
|
|
|
|
import angular from 'angular';
|
|
import _ from 'lodash';
|
|
|
|
export class QueryCtrl {
|
|
target: any;
|
|
datasource: any;
|
|
panelCtrl: any;
|
|
panel: any;
|
|
hasRawMode: boolean;
|
|
error: string;
|
|
|
|
constructor(public $scope, private $injector) {
|
|
this.panel = this.panelCtrl.panel;
|
|
}
|
|
|
|
refresh() {
|
|
this.panelCtrl.refresh();
|
|
}
|
|
|
|
}
|
|
|