graph(create annotation): push one annotation with time from and time to

This commit is contained in:
Alexander Zobnin
2017-04-12 21:04:18 +03:00
parent ef99ff0ad7
commit 17d3970673
4 changed files with 29 additions and 39 deletions

View File

@@ -307,8 +307,8 @@ class GraphCtrl extends MetricsPanelCtrl {
}
// Get annotation info from dialog and push it to backend
pushAnnotations(annotations) {
return this.annotationsSrv.postAnnotation(annotations);
pushAnnotation(annotation) {
return this.annotationsSrv.postAnnotation(annotation);
}
showAddAnnotationModal(timeRange) {