Expected Behavior
When you load a url with /projects/:projectID/tasks/:taskId it should load the project list and the selected task in details view
Current Behavior
Regardless of taskId being in the URL the task details do not load
Possible Solution
We should be able to load primary state from url
Steps to Reproduce
- Navigate to project route
- Select a task (notice details are open and URL updates)
- Refresh page (notice that URL is the same but details are not open)
Context (Environment)
I will refresh the session while having a task selected and it isnt selected after
Detailed Description
On init of the projects route we need to set the selectedTask
Possible Implementation
Currently when we make a request for project information we get the primary information about tasks like title and description. We should just need to set up a constructor condition if the taskId param is there then we set that task as the selectedTask.
Expected Behavior
When you load a url with /projects/:projectID/tasks/:taskId it should load the project list and the selected task in details view
Current Behavior
Regardless of taskId being in the URL the task details do not load
Possible Solution
We should be able to load primary state from url
Steps to Reproduce
Context (Environment)
I will refresh the session while having a task selected and it isnt selected after
Detailed Description
On init of the projects route we need to set the selectedTask
Possible Implementation
Currently when we make a request for project information we get the primary information about tasks like title and description. We should just need to set up a constructor condition if the taskId param is there then we set that task as the selectedTask.