diff --git a/frontend/app/components/work-packages/work-package-cache.service.ts b/frontend/app/components/work-packages/work-package-cache.service.ts index 2b72715411..62f26e6774 100644 --- a/frontend/app/components/work-packages/work-package-cache.service.ts +++ b/frontend/app/components/work-packages/work-package-cache.service.ts @@ -53,7 +53,7 @@ export class WorkPackageCacheService { } updateWorkPackage(wp: WorkPackageResource) { - this.states.workPackages.put(getWorkPackageId(wp.id), wp); + this.updateWorkPackageList([wp]); } updateWorkPackageList(list: WorkPackageResource[]) {