Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fix for caseworker names not appearing in task lists #3751

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ export class TaskListWrapperComponent implements OnDestroy, OnInit {
// similar to case list wrapper changes
caseworkersByService$.subscribe((caseworkers) => {
this.caseworkers = caseworkers;
// EUI-2027 - Load tasks again in case this is start of new caching of caseworkers
// note: the if is relevant to stop the same request happening at exactly the same time on available tasks causing an error
if (this.tasks.length > 0) {
this.doLoad();
}
}, (error) => {
handleFatalErrors(error.status, this.router);
});
Expand Down