fixed issue #555

parent 26e50ec5
...@@ -56,7 +56,9 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec ...@@ -56,7 +56,9 @@ dashboardControllers.controller('StudentCollectionsCtrl', function StudentCollec
$scope.isCategory = function (studentPicto) { $scope.isCategory = function (studentPicto) {
return studentPicto.attributes.id_cat === null && return studentPicto.attributes.id_cat === null &&
studentPicto.attributes.coord_x !== 0; studentPicto.attributes.coord_x !== 0 &&
typeof studentPicto.attributes.free_category_coord_x !== 'number' &&
typeof studentPicto.attributes.free_category_coord_y !== 'number';
}; };
$scope.getCategoryId = function (studentPicto) { $scope.getCategoryId = function (studentPicto) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment