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:
Torkel Ödegaard
2021-04-23 14:06:30 +02:00
committed by GitHub
parent 37f7b91a6b
commit b6cfb65e40
11 changed files with 84 additions and 65 deletions

View File

@ -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;
}
}