mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ace: fix error when getCompleter() wasn't passed
This commit is contained in:
@@ -150,7 +150,7 @@ function link(scope, elem, attrs) {
|
||||
enableSnippets: true
|
||||
});
|
||||
|
||||
if (scope.getCompleter) {
|
||||
if (scope.getCompleter()) {
|
||||
codeEditor.completers.push(scope.getCompleter());
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user