Loki: Add line limit for annotations (#31183)

* Add line limit to Annotation query editor

* Refactor to keep type consistent
This commit is contained in:
Ivana Huckova
2021-02-16 13:27:17 +01:00
committed by GitHub
parent c269f18500
commit 350dcb999a
5 changed files with 31 additions and 16 deletions

View File

@@ -161,6 +161,8 @@ export function registerAngularDirectives() {
react2AngularDirective('lokiAnnotationsQueryEditor', LokiAnnotationsQueryEditor, [
'expr',
'maxLines',
'instant',
'onChange',
['datasource', { watchDepth: 'reference' }],
]);