Open
Description
Bug Summary:
If you create a task and then acess the duration, it comes up fine, but then when you refresh and try and access the duration, it becomes undefined
Steps To Reproduce
- in 'doto-frontend\src\components\pages\Calendar\Calendar.js', in handleTaskStatusUpdated, if add the line 'console.log(taskToUpdate);
- Run Doto
- Add a new task
- complete the task - you should notice the specified duration (in minutes) come up in the console (right click, inspect element to view the console)
- refresh the page
- this time, when you complete/ uncomplete a previously made task, the console prints out undefined.
Expected behaviour
The duration should be able to be accessed after the page is refreshed.
Observed Behaviour
After the page is refreshed, the duration is now undefined
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- Version:
- Operating System: Windows 10
- Browser (if any): Firefox