fix lint errors
This commit is contained in:
parent
cfb2a4d404
commit
489b93d5df
|
@ -74,8 +74,8 @@
|
||||||
var collections = {};
|
var collections = {};
|
||||||
if ($event.target.checked) {
|
if ($event.target.checked) {
|
||||||
for (var i = 0; i < $scope.collections.length; i++) {
|
for (var i = 0; i < $scope.collections.length; i++) {
|
||||||
if ($scope.model.organizationId && $scope.collections[i].organizationId === $scope.model.organizationId
|
if ($scope.model.organizationId && $scope.collections[i].organizationId === $scope.model.organizationId &&
|
||||||
&& !$scope.collections[i].readOnly) {
|
!$scope.collections[i].readOnly) {
|
||||||
collections[$scope.collections[i].id] = true;
|
collections[$scope.collections[i].id] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue