Commit 82f5a110 authored by Mahdi Mahmoudy's avatar Mahdi Mahmoudy
Browse files

this is a temporary fix for console errors when an assignedBy filter is...

this is a temporary fix for console errors when an assignedBy filter is selected. this won't fix the problem, but the errors don't seem to be causing a huge issue neither and also I couldn't find an easy fix for this
parent 2d92846b
......@@ -42,7 +42,7 @@ app.controller('assignedByController', function($scope, presetsService, filterSe
};
$scope.getAssignedbyDescription = function(assignedBy) {
return assignedBy.item.description;
return assignedBy.item && assignedBy.item.description;
}
init();
......
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 to comment