diff --git a/plugins/datasource-zabbix/queryCtrl.js b/plugins/datasource-zabbix/queryCtrl.js index 3c19720..faa02a1 100644 --- a/plugins/datasource-zabbix/queryCtrl.js +++ b/plugins/datasource-zabbix/queryCtrl.js @@ -280,7 +280,7 @@ define([ $scope.moveAliasFuncLast(); - if (!newFunc.params.length && newFunc.added) { + if (newFunc.params.length && newFunc.added) { $scope.targetChanged(); } };