Fix JS error in empty listviews

This commit is contained in:
Kenn Jacobsen
2020-08-03 16:39:09 +02:00
committed by Sebastiaan Janssen
parent 7f55f46ee6
commit 0320f40249

View File

@@ -89,18 +89,15 @@
$scope.options.includeProperties.forEach(function (option) {
option.isSensitive = false;
$scope.items.forEach(function (item) {
item.properties.forEach(function (property) {
if ($scope.items && $scope.items.length) {
$scope.items.forEach(function (item) {
item.properties.forEach(function (property) {
if (option.alias === property.alias) {
option.isSensitive = property.isSensitive;
}
});
});
});
});
}
});
}