fix lint errors

This commit is contained in:
Kyle Spearrin 2017-05-20 08:55:43 -04:00
parent cfb2a4d404
commit 489b93d5df
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@
var collections = {};
if ($event.target.checked) {
for (var i = 0; i < $scope.collections.length; i++) {
if ($scope.model.organizationId && $scope.collections[i].organizationId === $scope.model.organizationId
&& !$scope.collections[i].readOnly) {
if ($scope.model.organizationId && $scope.collections[i].organizationId === $scope.model.organizationId &&
!$scope.collections[i].readOnly) {
collections[$scope.collections[i].id] = true;
}
}