fixed error in tasks

pull/1/head
Joshua Collins 5 years ago
parent 6da4adca25
commit 655343bbaf
  1. 2
      app/store/tasks.js

@ -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…
Cancel
Save