mirror of
https://github.com/grafana/grafana.git
synced 2025-09-22 09:13:40 +08:00
Annotations: More fixes to the angular annotation editors (#33303)
* Annotations: Fixed angular editor issues * More angular annotation fixes * removed console.log
This commit is contained in:
@ -15,10 +15,11 @@ WHERE
|
||||
class PostgresAnnotationsQueryCtrl {
|
||||
static templateUrl = 'partials/annotations.editor.html';
|
||||
|
||||
annotation: any;
|
||||
declare annotation: any;
|
||||
|
||||
/** @ngInject */
|
||||
constructor() {
|
||||
constructor($scope: any) {
|
||||
this.annotation = $scope.ctrl.annotation;
|
||||
this.annotation.rawQuery = this.annotation.rawQuery || defaultQuery;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user