Merge pull request #573 from andrewfhart/fix-blocks-length
Fix $scope.blocksLength assignment in index controller
This commit is contained in:
commit
adc3f2ade4
File diff suppressed because one or more lines are too long
|
@ -12,7 +12,7 @@ angular.module('insight.system').controller('IndexController',
|
||||||
limit: BLOCKS_DISPLAYED
|
limit: BLOCKS_DISPLAYED
|
||||||
}, function(res) {
|
}, function(res) {
|
||||||
$scope.blocks = res.blocks;
|
$scope.blocks = res.blocks;
|
||||||
$scope.blocksLength = res.lenght;
|
$scope.blocksLength = res.length;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue