bugfix: Counter visualization was not watching for filter changes

This commit is contained in:
Amir Nissim 2014-11-11 12:11:04 +02:00
parent 536918aab3
commit 98dc75a404

View File

@ -30,7 +30,7 @@
$scope.visualization.options.rowNumber =
$scope.visualization.options.rowNumber || 0;
$scope.$watch('queryResult && queryResult.getData() && visualization.options',
$scope.$watch('[queryResult && queryResult.getData(), visualization.options]',
function() {
var queryData = $scope.queryResult.getData();
if (queryData) {