Fixed bug with aggregation functions bind when dashboard loaded.

This commit is contained in:
Alexander Zobnin
2016-01-28 18:38:31 +03:00
parent 95cae7ee4d
commit 7565cb0114
3 changed files with 13 additions and 8 deletions

View File

@@ -269,7 +269,7 @@ define([
$scope.validateTarget = function () {};
$scope.addFunction = function(funcDef) {
var newFunc = metricFunctions.createFuncInstance(funcDef, { withDefaultParams: true });
var newFunc = metricFunctions.createFuncInstance(funcDef);
newFunc.added = true;
$scope.target.functions.push(newFunc);