Skip to content

Commit

Permalink
Add fix for caseworker names not appearing in task lists (#3751)
Browse files Browse the repository at this point in the history
* Add fix for caseworker names not appearing in task lists

* Updating Terraform Formatting

* Update yarn-audit-known-issues

* Update yarn-audit-known-issues

---------

Co-authored-by: 54687 <61242337+hmcts-jenkins-j-to-z[bot]@users.noreply.github.com>
Co-authored-by: RiteshHMCTS <[email protected]>
  • Loading branch information
3 people committed Jul 22, 2024
1 parent b79bee0 commit 874e44c
Showing 1 changed file with 5 additions and 0 deletions.
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

0 comments on commit 874e44c

Please sign in to comment.