@ -38,7 +38,7 @@ const Tasks = () => {
}
obj.getAllTasksForAgent = (agentId) => {
const tasks = objs.tasks.filter(t => t.agentId === agentId)
const tasks = obj.tasks.filter(t => t.agentId === agentId)
return tasks.length !== 0
? tasks
: null