You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is code from selected-task-service.ts.
None of the code elsewhere ever uses selectedTaskService.setSelectedTask(number), so this code never ran before.
Attempting to gives the following error: GET http://localhost:3000/api//projects//task_def_id/ 400 (Bad Request)
public setSelectedTask(task: number | Task) {
if (typeof task === 'number') {
this.taskService.get(task).subscribe(this.task$); // THIS LINE HERE
} else {
this.task$.next(task);
task?.getSubmissionDetails().subscribe();
}
this.checkFooterHeight();
this.showSubmission();
}
The text was updated successfully, but these errors were encountered:
The following is code from
selected-task-service.ts
.None of the code elsewhere ever uses selectedTaskService.setSelectedTask(number), so this code never ran before.
Attempting to gives the following error:
GET http://localhost:3000/api//projects//task_def_id/ 400 (Bad Request)
The text was updated successfully, but these errors were encountered: