fixed error in tasks
This commit is contained in:
parent
6da4adca25
commit
655343bbaf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user