mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
Fix showing of Loki query editor in Annotations (#33279)
This commit is contained in:
parent
340942267c
commit
6034bf37c6
@ -4,10 +4,11 @@ import { LokiQuery } from './types';
|
||||
*/
|
||||
export class LokiAnnotationsQueryCtrl {
|
||||
static templateUrl = 'partials/annotations.editor.html';
|
||||
annotation: any;
|
||||
declare annotation: any;
|
||||
|
||||
/** @ngInject */
|
||||
constructor() {
|
||||
constructor($scope: any) {
|
||||
this.annotation = $scope.ctrl.annotation;
|
||||
this.annotation.target = this.annotation.target || {};
|
||||
this.onQueryChange = this.onQueryChange.bind(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user