feat(mixed datasource): updated Elasticsearch so it uses new way to define annotations editor
This commit is contained in:
@@ -3,7 +3,8 @@ define([
|
||||
'lodash',
|
||||
'config',
|
||||
'kbn',
|
||||
'moment'
|
||||
'moment',
|
||||
'./directives'
|
||||
],
|
||||
function (angular, _, config, kbn, moment) {
|
||||
'use strict';
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
define([
|
||||
'angular',
|
||||
],
|
||||
function (angular) {
|
||||
'use strict';
|
||||
|
||||
var module = angular.module('grafana.directives');
|
||||
|
||||
module.directive('annotationsQueryEditorElasticsearch', function() {
|
||||
return {templateUrl: 'app/plugins/datasource/elasticsearch/partials/annotations.editor.html'};
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user