Skip to content

Commit

Permalink
fix adding func from typeahead, closes #468
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderzobnin committed Dec 26, 2019
1 parent 1e6ca2d commit 90a9115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datasource-zabbix/add-metric-function.directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ angular
}

$scope.$apply(function() {
$scope.addFunction(funcDef);
$scope.ctrl.addFunction(funcDef);
});

$input.trigger('blur');
Expand Down

0 comments on commit 90a9115

Please sign in to comment.