coopcycle-web
coopcycle-web copied to clipboard
Clicking on "move task to the next day" when the task is in the tour will break the dashboard
Steps to reproduce
- Create a tour with tasks
- Right click on a task and "move it to the next day"
- Dashboard crash
What happened?
Dashboard codes tries to populate items
field with the tasks data
When it comes to the task, the task is not found
Dashboard crashes on this day because it needs the task data. Also the task is not shown on the next day, because the tour is not there
Temp fix is to disable right-click menu for tasks into tours. Will come back to it later
this should be in to do right?
also it works with groups
not exactly, it is the bug related issue
i will modify the issue accordingly